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