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