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