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
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class DocTmplHeadingLinkRecordDataExtensions : Object

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)

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

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

ToInserts(IEnumerable<DocTmplHeadingLinkRecordData>)

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

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<DocTmplHeadingLinkRecordData> records)
Parameters
Type Name Description
IEnumerable<DocTmplHeadingLinkRecordData> records
Returns
Type Description
IEnumerable<Insert>

ToRecordData(DocTmplHeadingLinkRow)

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

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