Show / Hide Table of Contents

Class IntentHeadingLinkRecordDataExtensions

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

Inheritance
Object
IntentHeadingLinkRecordDataExtensions
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 IntentHeadingLinkRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<IntentHeadingLinkTableInfo>)

From a TargetedDataRecord<IntentHeadingLinkTableInfo>, create and populate a IntentHeadingLinkRecordData POCO object

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

FromSelect(TargetedSelect<IntentHeadingLinkTableInfo>)

From a TargetedSelect<IntentHeadingLinkTableInfo>, execute it and return an IEnumerable<IntentHeadingLinkRecordData> with the results

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

ToInsert(IntentHeadingLinkRecordData)

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

ToInserts(IEnumerable<IntentHeadingLinkRecordData>)

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<IntentHeadingLinkRecordData> records)
Parameters
Type Name Description
IEnumerable<IntentHeadingLinkRecordData> 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