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