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