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