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