Class CreditedGroupLinkRecordDataExtensions
Inheritance
CreditedGroupLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class CreditedGroupLinkRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<CreditedGroupLinkTableInfo>)
Declaration
public static CreditedGroupLinkRecordData FromRecord(this TargetedDataRecord<CreditedGroupLinkTableInfo> 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 { CreditedGroupLinkItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<CreditedGroupLinkTableInfo>)
From a TargetedSelect<CreditedGroupLinkTableInfo>, execute it and return an IEnumerable<CreditedGroupLinkRecordData> with the results
Declaration
public static IEnumerable<CreditedGroupLinkRecordData> FromSelect(this TargetedSelect<CreditedGroupLinkTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(CreditedGroupLinkRecordData)
Declaration
public static Insert ToInsert(this CreditedGroupLinkRecordData record)
Parameters
Returns
ToInserts(IEnumerable<CreditedGroupLinkRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<CreditedGroupLinkRecordData> records)
Parameters
Returns
ToRecordData(CreditedGroupLinkRow)
Declaration
public static CreditedGroupLinkRecordData ToRecordData(this CreditedGroupLinkRow row)
Parameters
Returns