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