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