Persistate API documentation
AddTargetDatabase Method (newTarget, ui)
NamespacesPersistatePackageAddTargetDatabase(Database, UserInterface)

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

Adds a new target Database for this Package.
Declaration Syntax
C#
public void AddTargetDatabase(
	Database newTarget,
	UserInterface ui
)
Parameters
newTarget (Database)
The Database to add.
ui (UserInterface)
If supplied, status reports will be sent to this user interface. May be null.
Remarks

This allows objects of this Package's classes to be stored in this Database. The new tables, indexes, etc. for the database are generated here. Note that if the supplied Database is already a target database of this Package, the tables will be checked and updated.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)