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