Hi,
I use llblgen to generate a "ORM" project(llblgen is v2.6 and use adapter), and refers to "WCF" project. Now I want to use entities in "Web" project through "WCF" project, in other words "Web" project will not assemble the ORM.dll.
In "Web" project I could'n defind the entity of "ORM"
I try to resorve it by adding [DataContract] attribute on entity class. but occur an error:
"Type "ORM.EntityClasses.UserEntity' cannot be IXmlSerializable and have DataContractAttribute attribute."
Now I have two questions:
1. Is it right of my way?
2. If yes, how to deal with the error?
3. How to auto generate the [DataContract] and [DataMember] attributes on entity class.
4. If not right, please tell me the way to resorve it?
Thanks!