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