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