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