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