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