Table of Contents

ISchemaImporter Interface

Interface implemented by database-specific schema importers that read the live database structure and populate a TDatabaseMetadata model.

Remarks

An ISchemaImporter instance is selected automatically by TDatabaseManager based on the SQL dialect of the active connection. Each supported database engine (SQL Server, PostgreSQL, MySQL, SQLite, etc.) provides its own implementation that queries the relevant system catalogs or information-schema views to discover tables, columns, indexes, foreign keys, and sequences.

Syntax

Unit: Aurelius.Schema.Interfaces

ISchemaImporter = interface(IInterface);

Methods

Name Description
GetDatabaseMetadata Reads the current schema from the database and populates the given metadata object.