Show / Hide Table of Contents

Class QuoteDenyReasonGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<QuoteDenyReasonGroupLinkTableInfo>)

From a TargetedDataRecord<QuoteDenyReasonGroupLinkTableInfo>, create and populate a QuoteDenyReasonGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<QuoteDenyReasonGroupLinkTableInfo>)

From a TargetedSelect<QuoteDenyReasonGroupLinkTableInfo>, execute it and return an IEnumerable<QuoteDenyReasonGroupLinkRecordData> with the results

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

ToInsert(QuoteDenyReasonGroupLinkRecordData)

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

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

ToInserts(IEnumerable<QuoteDenyReasonGroupLinkRecordData>)

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

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

ToRecordData(QuoteDenyReasonGroupLinkRow)

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

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