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