Author Topic: BlockTable.Add and Transaction.AddNewlyCreatedDBObject  (Read 1454 times)

0 Members and 1 Guest are viewing this topic.

JayH

  • Guest
BlockTable.Add and Transaction.AddNewlyCreatedDBObject
« on: November 23, 2018, 05:33:08 AM »
Hi All,

Apologies if this is a stupid question, but I've never understood why it is necessary to add an entity to the BlockTable, and also call AddNewlyCreatedDBObject?

Surely once an entity is added to the BlockTable, it already exists in the database, so what exactly is the point of AddNewlyCreatedDBObject?


Thanks,
James

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8662
  • AKA Daniel
Re: BlockTable.Add and Transaction.AddNewlyCreatedDBObject
« Reply #1 on: November 23, 2018, 07:14:06 AM »
for bookkeeping, the transaction will attempt to close the objects in this array.
« Last Edit: November 23, 2018, 07:55:01 AM by nullptr »