Getting InvalidOperationException on Table.Attch(TEntity,TEntity) method

Getting InvalidOperationException on Table.Attch(TEntity,TEntity) method

Postby tnk0205 » Fri 12 Apr 2013 09:29

I have a Table which have 14 key-value pair. I want to update value of a particular key. I am doing Table.Attach(entity,original). Where entity and original are both type of TEntity. I am getting "Invalid Operation Exception" here with message "Cannot attach an entity with the key that already exists.". Can you help me on this?
tnk0205
 
Posts: 1
Joined: Thu 11 Apr 2013 08:54

Re: Getting InvalidOperationException on Table.Attch(TEntity,TEntity) method

Postby MariiaI » Mon 15 Apr 2013 09:13

We have contacted you via the mail.
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17


Return to dotConnect for Oracle