Show / Hide Table of Contents

Class IntentGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<IntentGroupLinkTableInfo>)

From a TargetedDataRecord<IntentGroupLinkTableInfo>, create and populate a IntentGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<IntentGroupLinkTableInfo>)

From a TargetedSelect<IntentGroupLinkTableInfo>, execute it and return an IEnumerable<IntentGroupLinkRecordData> with the results

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

ToInsert(IntentGroupLinkRecordData)

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

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

ToInserts(IEnumerable<IntentGroupLinkRecordData>)

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

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

ToRecordData(IntentGroupLinkRow)

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

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