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