Reputation:
I have created a wcf web service that enable user access to database. For database model I use entity framework. Problem is that I have so much classes inside of entity framework and it will take too much time to write a datacontract by hand. Is there a easy way to avoid that?
Upvotes: 3
Views: 4286
Reputation:
Cant believe it. Entity framework classes dont need to be taged as [DataContract]. I got error when consuming service with wcf test client, but my wpf client is working great. I am so sorry about that.
Upvotes: 2