Page 1 of 1

Serialization attribute not generated

Posted: Mon 14 Dec 2009 14:53
by crazypit
Hello,

If i set the Serialization Mode to Unidirectional, all properties that are generated through an Association, do not get a DataMember Attribute and therefore cannot be serialized.

Posted: Tue 15 Dec 2009 11:19
by crazypit
Specifically the Child property do not get a DataMember attribute. e.g. A Case is a child of a CaseType. The CaseType property on the Case class do not get the attribute.

Posted: Tue 15 Dec 2009 11:24
by AndreyR
I have just made some tests using the upcoming build and the DataMember attribute is generated successfully for Associations.
Could you please provide us a detailed description of the problem, maybe with code samples?

Posted: Tue 15 Dec 2009 11:33
by crazypit
Ok, maybe the problem is generated on a more complex design. Is there a way to send you the .view file in order to check it yourself?

Posted: Tue 15 Dec 2009 12:24
by AndreyR
Please send the test model illustrating the problem to support * devart * com, subject "ED: Unidirectional Serialization".

Posted: Tue 15 Dec 2009 12:46
by crazypit
Model sent...

Posted: Wed 06 Jan 2010 08:58
by AndreyR
We have fixed the problem with the wrong Order number generation.
As for the DataMember attribute, it is not generated for the Microsoft models also in the similar situation.
The reason is that this attribute is not necessary for the successful deserialization of the model.