New Posts New Posts RSS Feed: Can
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Can

 Post Reply Post Reply
Author
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Topic: Can
    Posted: 10-Aug-2012 at 12:37pm
Hi Erika,

RSMC call doesn't automatically serialize entities back to the server like a normal SaveChanges call would do. So in this case, you would have to serialize the entity back using EntityCacheState 

Back to Top
erika View Drop Down
Newbie
Newbie


Joined: 04-Jul-2012
Posts: 5
Post Options Post Options   Quote erika Quote  Post ReplyReply Direct Link To This Post Posted: 09-Aug-2012 at 9:21pm
Sorry, didn't write the full title before posting -.-
Back to Top
erika View Drop Down
Newbie
Newbie


Joined: 04-Jul-2012
Posts: 5
Post Options Post Options   Quote erika Quote  Post ReplyReply Direct Link To This Post Posted: 09-Aug-2012 at 8:58pm
Hi,

I'm using RSMC and in the server method I'm trying to send back validation errors when error occurs. I tried to add the error to entityaspect's validation errors.

entity.EntityAspect.ValidationErrors.Add(new VerifierResult(VerifierResultCode.Error, "error"));

However, I can't get this validation error in client. Is it because I use RSMC? It works fine using Save interceptor.

Thanks.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down