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