Question Comments
Added By: Jean-François Dion 1 at: 11/3/2015 1:34:23 PM
Just take care of the .net type specified in xml ResourceId, that match the type of property corresponding the Id in your object.
Added By: Yulia (DevExpress Support) at: 11/4/2015 5:06:16 AMHello,
The Type property in an XML string that represents Ids of resources associated with an appointment should match the type of the data field mapped to Resource.Id. In this example, a CustomResource business object has the ResID property of the System.Int32 type. So, the Type property should be set to System.Int32.
While researching this subject, I noticed that the data field mapped to the AppointmentMappingInfo.ResourceId property is of the System.Object type. It is recommended to use a data field of the string type to store XML text with information on assigned resources. So, I will update the example accordingly.
Should you have additional questions in this regard, let me know. I will be happy to assist you.