Class QuoteLineConfigurationRecordDataExtensions
Inheritance
QuoteLineConfigurationRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class QuoteLineConfigurationRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<QuoteLineConfigurationTableInfo>)
Declaration
public static QuoteLineConfigurationRecordData FromRecord(this TargetedDataRecord<QuoteLineConfigurationTableInfo> 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 { QuoteLineConfigurationItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<QuoteLineConfigurationTableInfo>)
From a TargetedSelect<QuoteLineConfigurationTableInfo>, execute it and return an IEnumerable<QuoteLineConfigurationRecordData> with the results
Declaration
public static IEnumerable<QuoteLineConfigurationRecordData> FromSelect(this TargetedSelect<QuoteLineConfigurationTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
FromSelectAsync(TargetedSelect<QuoteLineConfigurationTableInfo>, CancellationToken)
From a TargetedSelect<QuoteLineConfigurationTableInfo>, execute it and return an IEnumerable<QuoteLineConfigurationRecordData> with the results
Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
public static IAsyncEnumerable<QuoteLineConfigurationRecordData> FromSelectAsync(this TargetedSelect<QuoteLineConfigurationTableInfo> select, CancellationToken cancellationToken = default)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsertAsync(QuoteLineConfigurationRecordData, CancellationToken)
Declaration
public static Task<Insert> ToInsertAsync(this QuoteLineConfigurationRecordData record, CancellationToken cancellationToken = default)
Parameters
Returns
ToInsertsAsync(IEnumerable<QuoteLineConfigurationRecordData>, CancellationToken)
Declaration
public static IAsyncEnumerable<Insert> ToInsertsAsync(this IEnumerable<QuoteLineConfigurationRecordData> records, CancellationToken cancellationToken = default)
Parameters
Returns
ToRecordData(QuoteLineConfigurationRow)
Declaration
public static QuoteLineConfigurationRecordData ToRecordData(this QuoteLineConfigurationRow row)
Parameters
Returns