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