Declaration
TnxDatabaseMapper = class(TnxStateComponent)
Description
Component that wraps a collection of database connections. The collection is used to create a unique namespace from database aliases that are not necessarily unique, for instance if you have the same aliasname in both a local and remote server, and want to use a report engine that needs database name uniqueness (e.g. ReportBuilder).
There are two ways of creating the collection; either set the DefaultSession property, which reads in the list of databases connected to the session, or create entries in the Mappings collection.
See Also
Methods
The text for this method has been generated automatically. This means that it is not documented.
The text for this method has been generated automatically. This means that it is not documented.
From a Mapping Name, returns the corresponding TnxDatabase component.
Gets the list of Mapping Names (not the real database aliases).
Properties
Set this if you have one session only in your application. The Mappings list is populated from the connected databases.
The collection of mappings between unique Mapping Names and databases.
The text for this property has been generated automatically. This means that it is not documented.
File