Show / Hide Table of Contents

Class ContIntGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<ContIntGroupLinkTableInfo>)

From a TargetedDataRecord<ContIntGroupLinkTableInfo>, create and populate a ContIntGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<ContIntGroupLinkTableInfo>)

From a TargetedSelect<ContIntGroupLinkTableInfo>, execute it and return an IEnumerable<ContIntGroupLinkRecordData> with the results

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

ToInsert(ContIntGroupLinkRecordData)

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

ToInserts(IEnumerable<ContIntGroupLinkRecordData>)

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<ContIntGroupLinkRecordData> records)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContIntGroupLinkRecordData> records
Returns
Type Description
System.Collections.Generic.IEnumerable<Insert>

ToRecordData(ContIntGroupLinkRow)

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