Show / Hide Table of Contents

Class ProductToDictionaryConverter

Converter methods for converting a contact entity to a dictionary

Inheritance
object
ProductToDictionaryConverter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Import
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public static class ProductToDictionaryConverter

Methods

GetRelatedFieldValue(string, string, Dictionary<string, object>)

Return the related field value in an array of dictionaries

Declaration
public static object GetRelatedFieldValue(string relatedTableName, string relatedFieldName, Dictionary<string, object> entity)
Parameters
Type Name Description
string relatedTableName
string relatedFieldName
Dictionary<string, object> entity
Returns
Type Description
object

ProductDictionary(ProductRow)

Creates a new product dictionary from the productRow

Declaration
public static Dictionary<string, object> ProductDictionary(ProductRow product)
Parameters
Type Name Description
ProductRow product
Returns
Type Description
Dictionary<string, object>

Product dictionary

ProductDictionary(string)

Creates a new product dictionary from the productRow

Declaration
public static Dictionary<string, object> ProductDictionary(string name)
Parameters
Type Name Description
string name
Returns
Type Description
Dictionary<string, object>

Product dictionary

SetRelatedFieldValue(object, string, string, Dictionary<string, object>)

Sets the related field value in an array of dictionarys

Declaration
public static bool SetRelatedFieldValue(object value, string relatedTableName, string relatedFieldName, Dictionary<string, object> entity)
Parameters
Type Name Description
object value
string relatedTableName
string relatedFieldName
Dictionary<string, object> entity
Returns
Type Description
bool
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top