New Posts New Posts RSS Feed: This row has been removed from a table and does not have any data
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

This row has been removed from a table and does not have any data

 Post Reply Post Reply
Author
Customer View Drop Down
Senior Member
Senior Member
Avatar
User Submitted Questions to Support

Joined: 30-May-2007
Location: United States
Posts: 260
Post Options Post Options   Quote Customer Quote  Post ReplyReply Direct Link To This Post Topic: This row has been removed from a table and does not have any data
    Posted: 12-Jul-2007 at 3:08pm

I'm getting the following exception in my WinForms application.  The
PrePODataRow class you see in the stack trace is built by the ORM.  Has
anyone seen this, and are there any tips on preventing this type of error
from occurring? 


"This row has been removed from a table and does not have any data"

Back to Top
IdeaBlade View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30-May-2007
Location: United States
Posts: 346
Post Options Post Options   Quote IdeaBlade Quote  Post ReplyReply Direct Link To This Post Posted: 12-Jul-2007 at 3:09pm
We have been seeing this error more and more frequently.  It has been typically caused by removing an entity from the PersistenceManager cache through either PM.Clear()) or PM.Remove().  Although the row (i.e., Business Object) is successfully removed from the cache, references may still exist to the Entity typically in an EntityList, but also possibly through an Event Handler, Property Descriptor on the entity, or a control on a Grid.  When your software tries to access this missing Entity, you will get the RowNotInTableException.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down