Show / Hide Table of Contents

Class AmountClassHeadingLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<AmountClassHeadingLinkTableInfo>)

From a TargetedDataRecord<AmountClassHeadingLinkTableInfo>, create and populate a AmountClassHeadingLinkRecordData POCO object

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

FromSelect(TargetedSelect<AmountClassHeadingLinkTableInfo>)

From a TargetedSelect<AmountClassHeadingLinkTableInfo>, execute it and return an IEnumerable<AmountClassHeadingLinkRecordData> with the results

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

ToInsert(AmountClassHeadingLinkRecordData)

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

ToInserts(IEnumerable<AmountClassHeadingLinkRecordData>)

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