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