Class ContactInterestRecordDataExtensions
Extension methods to make it easy to fetch ContactInterestRecordData objects from the database,
using the TargetedSelect infrastructure
Inheritance
ContactInterestRecordDataExtensions
Assembly: SoDataBase.dll
public static class ContactInterestRecordDataExtensions
Methods
Declaration
public static ContactInterestRecordData FromRecord(this TargetedDataRecord<ContactInterestTableInfo> 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 { ContactInterestItem = r.FromRecord(), /* fetch other fields here */ });
From a TargetedSelect<ContactInterestTableInfo>, execute it and return an IEnumerable<ContactInterestRecordData> with the results
Declaration
public static IEnumerable<ContactInterestRecordData> FromSelect(this TargetedSelect<ContactInterestTableInfo> 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 ContactInterestRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static Insert ToInsert(this ContactInterestRecordData record)
Parameters
Returns
Extension methods to make it easy to fetch ContactInterestRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<ContactInterestRecordData> records)
Parameters
Returns
Extension methods to make it easy to fetch ContactInterestRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static ContactInterestRecordData ToRecordData(this ContactInterestRow row)
Parameters
Returns