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