Persistate API documentation
StoreInDatabase Method (db)
NamespacesPersistatePersistentStoreInDatabase(Database)

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

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

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: 0.6.1.20 (0.6.1.20)