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