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