Page 1 of 1

WCF RIA Template fails

Posted: Fri 10 Apr 2015 13:13
by Zero-G.
Hey

I have added the WCF Ria Template to my actual Project. (VB.NET!!!)
That Fails with Errors.

1) The original code within the template was:

Code: Select all

Dim objectState As System.Data.Objects.ObjectStateEntry = Nothing
There Comes a cast error.
When I Change the template to

Code: Select all

Dim objectState As System.Data.Entity.Core.Objects.ObjectStateEntry = Nothing
I get an error:
AttachAsModified isn't a member...

Please take a look and give me some advise.
THX

Re: WCF RIA Template fails

Posted: Fri 17 Apr 2015 16:57
by Shalex
Thank you for your report. We have reproduced the issue and are investigating it.

Re: WCF RIA Template fails

Posted: Wed 29 Apr 2015 14:30
by Shalex
Please open Model Settings and set Entity Framework version = Entity Framework 4.x.
Save the model to regenenerate the code. Does this help?