Show / Hide Table of Contents

Class MrMrsGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<MrMrsGroupLinkTableInfo>)

From a TargetedDataRecord<MrMrsGroupLinkTableInfo>, create and populate a MrMrsGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<MrMrsGroupLinkTableInfo>)

From a TargetedSelect<MrMrsGroupLinkTableInfo>, execute it and return an IEnumerable<MrMrsGroupLinkRecordData> with the results

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

ToInsert(MrMrsGroupLinkRecordData)

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

ToInserts(IEnumerable<MrMrsGroupLinkRecordData>)

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