Show / Hide Table of Contents

Class CurrencyGroupLinkRecordDataExtensions

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

Inheritance
Object
CurrencyGroupLinkRecordDataExtensions
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class CurrencyGroupLinkRecordDataExtensions : Object

Methods

FromRecord(TargetedDataRecord<CurrencyGroupLinkTableInfo>)

From a TargetedDataRecord<CurrencyGroupLinkTableInfo>, create and populate a CurrencyGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<CurrencyGroupLinkTableInfo>)

From a TargetedSelect<CurrencyGroupLinkTableInfo>, execute it and return an IEnumerable<CurrencyGroupLinkRecordData> with the results

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

ToInsert(CurrencyGroupLinkRecordData)

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

Declaration
public static Insert ToInsert(this CurrencyGroupLinkRecordData record)
Parameters
Type Name Description
CurrencyGroupLinkRecordData record
Returns
Type Description
Insert

ToInserts(IEnumerable<CurrencyGroupLinkRecordData>)

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

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<CurrencyGroupLinkRecordData> records)
Parameters
Type Name Description
IEnumerable<CurrencyGroupLinkRecordData> records
Returns
Type Description
IEnumerable<Insert>

ToRecordData(CurrencyGroupLinkRow)

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

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