Class UDTempLargeRecordDataExtensions
Extension methods to make it easy to fetch UDTempLargeRecordData objects from the database,
using the infrastructure
Inheritance
UDTempLargeRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class UDTempLargeRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<UDTempLargeTableInfo>)
Declaration
public static UDTempLargeRecordData FromRecord(this TargetedDataRecord<UDTempLargeTableInfo> 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 { UDTempLargeItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<UDTempLargeTableInfo>)
From a TargetedSelect<UDTempLargeTableInfo>, execute it and return an IEnumerable<UDTempLargeRecordData> with the results
Declaration
public static IEnumerable<UDTempLargeRecordData> FromSelect(this TargetedSelect<UDTempLargeTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(UDTempLargeRecordData)
Extension methods to make it easy to fetch UDTempLargeRecordData objects from the database,
using the infrastructure
Declaration
public static Insert ToInsert(this UDTempLargeRecordData record)
Parameters
Returns
ToInserts(IEnumerable<UDTempLargeRecordData>)
Extension methods to make it easy to fetch UDTempLargeRecordData objects from the database,
using the infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<UDTempLargeRecordData> records)
Parameters
Returns
ToRecordData(UDTempLargeRow)
Extension methods to make it easy to fetch UDTempLargeRecordData objects from the database,
using the infrastructure
Declaration
public static UDTempLargeRecordData ToRecordData(this UDTempLargeRow row)
Parameters
Returns