Show / Hide Table of Contents

Class LegalHtmlTagsRecordDataExtensions

Extension methods to make it easy to fetch LegalHtmlTagsRecordData objects from the database, using the TargetedSelect infrastructure

Inheritance
object
LegalHtmlTagsRecordDataExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class LegalHtmlTagsRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<LegalHtmlTagsTableInfo>)

From a TargetedDataRecord<LegalHtmlTagsTableInfo>, create and populate a LegalHtmlTagsRecordData POCO object

Declaration
public static LegalHtmlTagsRecordData FromRecord(this TargetedDataRecord<LegalHtmlTagsTableInfo> record)
Parameters
Type Name Description
TargetedDataRecord<LegalHtmlTagsTableInfo> record
Returns
Type Description
LegalHtmlTagsRecordData
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 { LegalHtmlTagsItem = r.FromRecord(), /* fetch other fields here */ });

FromSelect(TargetedSelect<LegalHtmlTagsTableInfo>)

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
Type Name Description
TargetedSelect<LegalHtmlTagsTableInfo> select
Returns
Type Description
IEnumerable<LegalHtmlTagsRecordData>
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();

FromSelectAsync(TargetedSelect<LegalHtmlTagsTableInfo>, CancellationToken)

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
Type Name Description
TargetedSelect<LegalHtmlTagsTableInfo> select
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<LegalHtmlTagsRecordData>
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();

ToInsertAsync(LegalHtmlTagsRecordData, CancellationToken)

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
Type Name Description
LegalHtmlTagsRecordData record
CancellationToken cancellationToken
Returns
Type Description
Task<Insert>

ToInsertsAsync(IEnumerable<LegalHtmlTagsRecordData>, CancellationToken)

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
Type Name Description
IEnumerable<LegalHtmlTagsRecordData> records
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<Insert>

ToRecordData(LegalHtmlTagsRow)

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
Type Name Description
LegalHtmlTagsRow row
Returns
Type Description
LegalHtmlTagsRecordData
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top