Persistate API documentation
AddTargetDatabases Method (databases, ui)
NamespacesPersistatePackageAddTargetDatabases(IEnumerable<(Of <<'(Database>)>>), UserInterface)

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

Adds one or more target Databases for this Package.
Declaration Syntax
C#
public void AddTargetDatabases(
	IEnumerable<Database> databases,
	UserInterface ui
)
Parameters
databases (IEnumerable<(Of <(<'Database>)>)>)
One or more Databases that are to hold objects of this Package
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 these Databases. The new tables, indexes, etc. for the Databases are generated here. Note that if the supplied databases are already target databases of this Package, the tables will be checked and updated.

Note that this method does not perform a commit.

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