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