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