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

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
tnk0205
Posts: 1
Joined: Thu 11 Apr 2013 08:54

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

Post by 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?

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

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

Post by MariiaI » Mon 15 Apr 2013 09:13

We have contacted you via the mail.

Post Reply