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