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