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