Show / Hide Table of Contents

Class DocTmplHeadingLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<DocTmplHeadingLinkTableInfo>)

From a TargetedDataRecord<DocTmplHeadingLinkTableInfo>, create and populate a DocTmplHeadingLinkRecordData POCO object

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

FromSelect(TargetedSelect<DocTmplHeadingLinkTableInfo>)

From a TargetedSelect<DocTmplHeadingLinkTableInfo>, execute it and return an IEnumerable<DocTmplHeadingLinkRecordData> with the results

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

ToInsert(DocTmplHeadingLinkRecordData)

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

ToInserts(IEnumerable<DocTmplHeadingLinkRecordData>)

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