TheSwamp

Code Red => .NET => Topic started by: JayH on November 23, 2018, 05:33:08 AM

Title: BlockTable.Add and Transaction.AddNewlyCreatedDBObject
Post by: JayH 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
Title: Re: BlockTable.Add and Transaction.AddNewlyCreatedDBObject
Post by: It's Alive! on November 23, 2018, 07:14:06 AM
for bookkeeping, the transaction will attempt to close the objects in this array.