Class ContactToDictionaryConverter
Converter methods for converting a contact entity to a dictionary
Inheritance
ContactToDictionaryConverter
Assembly: SoDataBase.dll
public static class ContactToDictionaryConverter
Methods
Creates a new contact dictionary from the given name and departement
Declaration
public static Dictionary<string, object> ContactDictionary(string name, string departement, string erpKey, ErpActorType actorType, int erpConnectionId)
Parameters
Returns
Converts a contact entity to a dictionary representation
Declaration
public static Dictionary<string, object> ContactToDictionary(ContactRow contact)
Parameters
Returns
Return the related field value in an array of dictionaries
Declaration
public static object GetRelatedFieldValue(string relatedTableName, string relatedFieldName, Dictionary<string, object> entity)
Parameters
Returns
Creates a new person dictionary from the given rank
Declaration
public static Dictionary<string, object> PersonDictionary(int rank, string erpKey, string parentErpKey, ErpActorType actorType, int erpConnectionId)
Parameters
Returns
Creates a new person dictionary
Declaration
public static Dictionary<string, object> PersonDictionary(string erpKey, string parentErpKey, ErpActorType actorType, int erpConnectionId)
Parameters
Returns
Converts a person entity to a dictionary representation
Declaration
public static Dictionary<string, object> PersonReaderToDictionary(SoDataReader reader, PersonTableInfo pt)
Parameters
Returns
Converts a person entity to a dictionary representation
Declaration
public static Dictionary<string, object> PersonToDictionary(PersonRow person)
Parameters
Returns
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
Returns