Show / Hide Table of Contents

Class BusinessGroupLinkRecordDataExtensions

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

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

Methods

FromRecord(TargetedDataRecord<BusinessGroupLinkTableInfo>)

From a TargetedDataRecord<BusinessGroupLinkTableInfo>, create and populate a BusinessGroupLinkRecordData POCO object

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

FromSelect(TargetedSelect<BusinessGroupLinkTableInfo>)

From a TargetedSelect<BusinessGroupLinkTableInfo>, execute it and return an IEnumerable<BusinessGroupLinkRecordData> with the results

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

ToInsert(BusinessGroupLinkRecordData)

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

ToInserts(IEnumerable<BusinessGroupLinkRecordData>)

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