Show / Hide Table of Contents

Class MrMrsHeadingLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<MrMrsHeadingLinkTableInfo>)

From a TargetedDataRecord<MrMrsHeadingLinkTableInfo>, create and populate a MrMrsHeadingLinkRecordData POCO object

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

FromSelect(TargetedSelect<MrMrsHeadingLinkTableInfo>)

From a TargetedSelect<MrMrsHeadingLinkTableInfo>, execute it and return an IEnumerable<MrMrsHeadingLinkRecordData> with the results

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

ToInsert(MrMrsHeadingLinkRecordData)

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

ToInserts(IEnumerable<MrMrsHeadingLinkRecordData>)

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