Table of Contents

Class DbSchema

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

Represents the comprehensive database schema container, managing structural metadata collection.

public class DbSchema
Inheritance
DbSchema
Inherited Members
Extension Methods

Constructors

DbSchema(DbConnectionInfo)

Initializes a new instance of the DbSchema class with specified connection info parameters.

public DbSchema(DbConnectionInfo ConnectionInfo)

Parameters

ConnectionInfo DbConnectionInfo

Properties

ConnectionInfo

Gets the underlying connection configuration attributes used for data schema discovery.

public DbConnectionInfo ConnectionInfo { get; }

Property Value

DbConnectionInfo

DbServerType

Gets the database management system platform type classification.

public DbServerType DbServerType { get; }

Property Value

DbServerType

IsLoaded

Gets a value indicating whether the metadata structures have been successfully loaded.

public bool IsLoaded { get; }

Property Value

bool

Name

Gets the unique identifier name of the connection configuration.

public string Name { get; }

Property Value

string

Procedures

Gets the collection of programmable stored modules or routines within the database.

public List<DbMetaProcedure> Procedures { get; }

Property Value

List<DbMetaProcedure>

Sequences

Gets the collection of sequence values or unique identifier generator definitions within the database.

public List<DbMetaSequence> Sequences { get; }

Property Value

List<DbMetaSequence>

Tables

Gets the collection of schema table structures defined within the database.

public List<DbMetaTable> Tables { get; }

Property Value

List<DbMetaTable>

Views

Gets the collection of relational projection view definitions within the database.

public List<DbMetaView> Views { get; }

Property Value

List<DbMetaView>

Methods

Load()

Loads all metadata information from the data provider source if not already loaded.

public void Load()

ReLoad()

Refreshes and reloads the structural database metadata from the server source.

public void ReLoad()

UnLoad()

Clears and unloads all cached metadata definitions from the schema collections.

public void UnLoad()