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