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