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