/// <summary>
 /// Add a proxy descriptor for the specified root business type.
 /// </summary>
 /// <param name="typeName">Type of the root business type</param>
 /// <param name="descriptor">Data Portal proxy descriptor</param>
 public static void AddDescriptor(string typeName, DataPortalProxyDescriptor descriptor)
 {
     InitializeDictionary();
     DataPortalTypeProxyDescriptors.Add(typeName, descriptor);
 }
 /// <summary>
 /// Add a proxy descriptor for the specified root business type.
 /// </summary>
 /// <param name="resourceId">Server resource id</param>
 /// <param name="descriptor">Data Portal proxy descriptor</param>
 public static void AddDescriptor(int resourceId, DataPortalProxyDescriptor descriptor)
 {
     InitializeDictionary();
     DataPortalTypeProxyDescriptors.Add(resourceId.ToString(), descriptor);
 }
 /// <summary>
 /// Add a proxy descriptor for the specified root business type.
 /// </summary>
 /// <param name="objectType">Root business type</param>
 /// <param name="descriptor">Data Portal proxy descriptor</param>
 public static void AddDescriptor(Type objectType, DataPortalProxyDescriptor descriptor)
 {
     InitializeDictionary();
     DataPortalTypeProxyDescriptors.Add(GetTypeName(objectType), descriptor);
 }