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