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