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