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