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