Author Topic: ObjectId of added ent  (Read 1675 times)

0 Members and 1 Guest are viewing this topic.

jmaeding

  • Bull Frog
  • Posts: 304
  • I'm just here for the Shelties.
ObjectId of added ent
« on: December 14, 2009, 12:51:11 PM »
In the thread on holding onto entites, the subject came up that the objectID of entity to be added, changes when it is added.
But AddNewlyCreatedDBObject does not return an objectID, it is a void return type.

As I understand it, there is no difference between an entity object gotten from the database, and one that you make fresh, and add.  Just checking as these details are hard to test.
James Maeding

Glenn R

  • Guest
Re: ObjectId of added ent
« Reply #1 on: December 14, 2009, 12:55:40 PM »
My bad - AppendEntity is what I meant.