Show / Hide Table of Contents

Class PMembTypeGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<PMembTypeGroupLinkTableInfo>)

From a TargetedDataRecord<PMembTypeGroupLinkTableInfo>, create and populate a PMembTypeGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<PMembTypeGroupLinkTableInfo>)

From a TargetedSelect<PMembTypeGroupLinkTableInfo>, execute it and return an IEnumerable<PMembTypeGroupLinkRecordData> with the results

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

ToInsert(PMembTypeGroupLinkRecordData)

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

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

ToInserts(IEnumerable<PMembTypeGroupLinkRecordData>)

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

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

ToRecordData(PMembTypeGroupLinkRow)

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

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