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