Click or drag to resize

DbcDatabase Class

X#
Class that stores information about a database.
Inheritance Hierarchy
Object
  DbcObject
    DbcDatabase

Namespace:  XSharp.RDD
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.24 GA
Syntax
 CLASS DbcDatabase INHERIT DbcObject
Request Example View Source

The DbcDatabase type exposes the following members.

Properties
  NameDescription
Public propertyActive
Is the database active ?
Public propertyArea
Area number for the cursor in the Databases Datasession
Public propertyConnections
List of connections
Public propertyFileName
Filename for the database
Public propertyName
Alias name for the database
Public propertyTables
List of tables
Public propertyViews
List of views
Top
Methods
  NameDescription
Public methodFindConnection
Find a connection in the Database container.
Public methodFindTable
Find a table in the Database container.
Public methodFindView
Find a view in the Database container.
Public methodGetData
Loads the tables, views and connections from the DBC file
(Overrides GetData.)
Public methodGetProp
Worker method for DbGetProp()
Public methodSetProp
-- todo --
Top
Remarks
When opened the list of tables, views and connections is populated. Fields, relations etc are not read.
See Also