3

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?

2
  • similar question here: stackoverflow.com/a/1122289/1099260 Commented Jun 8, 2013 at 13:56
  • Thanks, I ve seen that solution but.. I hoped thatin Visual Studio 2012 there are some features that would help me to do it :/ Thanks anyway Commented Jun 8, 2013 at 14:03

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.