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