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