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