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