Persistate API documentation
StoreInDatabase Method (db)

[This is preliminary documentation and is subject to change.]

Marks this object so that it will be stored in a particular Database.
Declaration Syntax
public void StoreInDatabase(
	Database db
db (Database)
The Database in which this object is to be stored.

The Database may be different to that holding its parent object. It can be used on new objects only, but can be called multiple times before the new object is committed. If you add an object to an IndexedList<(Of <(<'T>)>)> collection and the parent object is in a different database to the one you set, then the collection must be marked as distributed.

Assembly: Persistate (Module: Persistate) Version: (