This question is locked. New answers and comments are not allowed.
Hi, hope not to bother you.
My project is a WCF Service between the Data Access Layer and Client Side
I used the same concept used in the "ORM-MadeEasy" reference : Web service chapter
I'm having a problem in change set.
In the client side when i delete the object it deleted it successfully
but when i call the method "Load" After delete from the same container it gives me this error in committing:
In the client side i used the same container object in the whole project and call save after each delete or insert operation to apply synchronization with local change set.
----------------------
I would prefer if there is another way to apply web service with ORM model without change set.
Thanks in advance.
My project is a WCF Service between the Data Access Layer and Client Side
I used the same concept used in the "ORM-MadeEasy" reference : Web service chapter
I'm having a problem in change set.
In the client side when i delete the object it deleted it successfully
_containerHelper.Remove(object);
_containerHelper.Save(_client.objectDelegate);
but when i call the method "Load" After delete from the same container it gives me this error in committing:
if (_container.Transaction.IsActive)
_container.Transaction.Commit(); [Here is the Exception]
TransactionException was unhandled
Mixed object graph: object from another ObjectScope/ObjectContainer or evicted-reachable instance.
In the client side i used the same container object in the whole project and call save after each delete or insert operation to apply synchronization with local change set.
----------------------
I would prefer if there is another way to apply web service with ORM model without change set.
Thanks in advance.