Show / Hide Table of Contents

Class LicenseSatlLinkRecordDataExtensions

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

Inheritance
object
LicenseSatlLinkRecordDataExtensions
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 LicenseSatlLinkRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<LicenseSatlLinkTableInfo>)

From a TargetedDataRecord<LicenseSatlLinkTableInfo>, create and populate a LicenseSatlLinkRecordData POCO object

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

FromSelect(TargetedSelect<LicenseSatlLinkTableInfo>)

From a TargetedSelect<LicenseSatlLinkTableInfo>, execute it and return an IEnumerable<LicenseSatlLinkRecordData> with the results

Declaration
public static IEnumerable<LicenseSatlLinkRecordData> FromSelect(this TargetedSelect<LicenseSatlLinkTableInfo> select)
Parameters
Type Name Description
TargetedSelect<LicenseSatlLinkTableInfo> select
Returns
Type Description
IEnumerable<LicenseSatlLinkRecordData>
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();

FromSelectAsync(TargetedSelect<LicenseSatlLinkTableInfo>, CancellationToken)

From a TargetedSelect<LicenseSatlLinkTableInfo>, execute it and return an IEnumerable<LicenseSatlLinkRecordData> with the results

Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
public static IAsyncEnumerable<LicenseSatlLinkRecordData> FromSelectAsync(this TargetedSelect<LicenseSatlLinkTableInfo> select, CancellationToken cancellationToken = default)
Parameters
Type Name Description
TargetedSelect<LicenseSatlLinkTableInfo> select
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<LicenseSatlLinkRecordData>
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();

ToInsertAsync(LicenseSatlLinkRecordData, CancellationToken)

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

Declaration
public static Task<Insert> ToInsertAsync(this LicenseSatlLinkRecordData record, CancellationToken cancellationToken = default)
Parameters
Type Name Description
LicenseSatlLinkRecordData record
CancellationToken cancellationToken
Returns
Type Description
Task<Insert>

ToInsertsAsync(IEnumerable<LicenseSatlLinkRecordData>, CancellationToken)

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

Declaration
public static IAsyncEnumerable<Insert> ToInsertsAsync(this IEnumerable<LicenseSatlLinkRecordData> records, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<LicenseSatlLinkRecordData> records
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<Insert>

ToRecordData(LicenseSatlLinkRow)

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

Declaration
public static LicenseSatlLinkRecordData ToRecordData(this LicenseSatlLinkRow row)
Parameters
Type Name Description
LicenseSatlLinkRow row
Returns
Type Description
LicenseSatlLinkRecordData
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top