Class PersIntGroupLinkRecordDataExtensions
Extension methods to make it easy to fetch PersIntGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Inheritance
PersIntGroupLinkRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class PersIntGroupLinkRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<PersIntGroupLinkTableInfo>)
Declaration
public static PersIntGroupLinkRecordData FromRecord(this TargetedDataRecord<PersIntGroupLinkTableInfo> 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 { PersIntGroupLinkItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<PersIntGroupLinkTableInfo>)
From a TargetedSelect<PersIntGroupLinkTableInfo>, execute it and return an IEnumerable<PersIntGroupLinkRecordData> with the results
Declaration
public static IEnumerable<PersIntGroupLinkRecordData> FromSelect(this TargetedSelect<PersIntGroupLinkTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(PersIntGroupLinkRecordData)
Extension methods to make it easy to fetch PersIntGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static Insert ToInsert(this PersIntGroupLinkRecordData record)
Parameters
Returns
ToInserts(IEnumerable<PersIntGroupLinkRecordData>)
Extension methods to make it easy to fetch PersIntGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<PersIntGroupLinkRecordData> records)
Parameters
Returns
ToRecordData(PersIntGroupLinkRow)
Extension methods to make it easy to fetch PersIntGroupLinkRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static PersIntGroupLinkRecordData ToRecordData(this PersIntGroupLinkRow row)
Parameters
Returns