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