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