Class SaleTypeQuoteAttachmentRecordDataExtensions
Inheritance
SaleTypeQuoteAttachmentRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class SaleTypeQuoteAttachmentRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<SaleTypeQuoteAttachmentTableInfo>)
Declaration
public static SaleTypeQuoteAttachmentRecordData FromRecord(this TargetedDataRecord<SaleTypeQuoteAttachmentTableInfo> 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 { SaleTypeQuoteAttachmentItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<SaleTypeQuoteAttachmentTableInfo>)
From a TargetedSelect<SaleTypeQuoteAttachmentTableInfo>, execute it and return an IEnumerable<SaleTypeQuoteAttachmentRecordData> with the results
Declaration
public static IEnumerable<SaleTypeQuoteAttachmentRecordData> FromSelect(this TargetedSelect<SaleTypeQuoteAttachmentTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(SaleTypeQuoteAttachmentRecordData)
Declaration
public static Insert ToInsert(this SaleTypeQuoteAttachmentRecordData record)
Parameters
Returns
ToInserts(IEnumerable<SaleTypeQuoteAttachmentRecordData>)
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<SaleTypeQuoteAttachmentRecordData> records)
Parameters
Returns
ToRecordData(SaleTypeQuoteAttachmentRow)
Declaration
public static SaleTypeQuoteAttachmentRecordData ToRecordData(this SaleTypeQuoteAttachmentRow row)
Parameters
Returns