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