Show / Hide Table of Contents

Class ProbHeadingLinkRecordDataExtensions

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

Inheritance
Object
ProbHeadingLinkRecordDataExtensions
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class ProbHeadingLinkRecordDataExtensions : Object

Methods

FromRecord(TargetedDataRecord<ProbHeadingLinkTableInfo>)

From a TargetedDataRecord<ProbHeadingLinkTableInfo>, create and populate a ProbHeadingLinkRecordData POCO object

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

FromSelect(TargetedSelect<ProbHeadingLinkTableInfo>)

From a TargetedSelect<ProbHeadingLinkTableInfo>, execute it and return an IEnumerable<ProbHeadingLinkRecordData> with the results

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

ToInsert(ProbHeadingLinkRecordData)

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

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

ToInserts(IEnumerable<ProbHeadingLinkRecordData>)

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

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

ToRecordData(ProbHeadingLinkRow)

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

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