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