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