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.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
Boolean
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top