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