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