Show / Hide Table of Contents

Class ExtAppGroupLinkRecordDataExtensions

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

Inheritance
Object
ExtAppGroupLinkRecordDataExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class ExtAppGroupLinkRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<ExtAppGroupLinkTableInfo>)

From a TargetedDataRecord<ExtAppGroupLinkTableInfo>, create and populate a ExtAppGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<ExtAppGroupLinkTableInfo>)

From a TargetedSelect<ExtAppGroupLinkTableInfo>, execute it and return an IEnumerable<ExtAppGroupLinkRecordData> with the results

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

ToInsert(ExtAppGroupLinkRecordData)

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

ToInserts(IEnumerable<ExtAppGroupLinkRecordData>)

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<ExtAppGroupLinkRecordData> records)
Parameters
Type Name Description
IEnumerable<ExtAppGroupLinkRecordData> records
Returns
Type Description
IEnumerable<Insert>
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top