Class CreditedHeadingLinkRecordDataExtensions
Inheritance
CreditedHeadingLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class CreditedHeadingLinkRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<CreditedHeadingLinkTableInfo>)
Declaration
public static CreditedHeadingLinkRecordData FromRecord(this TargetedDataRecord<CreditedHeadingLinkTableInfo> record)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
/* add joins, return fields etc. as you wish */
s.ReturnFields.Add(s.Table.All);
var result = s.Records().Select(r => new { CreditedHeadingLinkItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<CreditedHeadingLinkTableInfo>)
From a TargetedSelect<CreditedHeadingLinkTableInfo>, execute it and return an IEnumerable<CreditedHeadingLinkRecordData> with the results
Declaration
public static IEnumerable<CreditedHeadingLinkRecordData> FromSelect(this TargetedSelect<CreditedHeadingLinkTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(CreditedHeadingLinkRecordData)
Declaration
public static Insert ToInsert(this CreditedHeadingLinkRecordData record)
Parameters
Returns
ToInserts(IEnumerable<CreditedHeadingLinkRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<CreditedHeadingLinkRecordData> records)
Parameters
Returns
ToRecordData(CreditedHeadingLinkRow)
Declaration
public static CreditedHeadingLinkRecordData ToRecordData(this CreditedHeadingLinkRow row)
Parameters
Returns