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