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.19
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 propertyHasProperties (Inherited from DbcObject.)
Public propertyName
Alias name for the database
Public propertyObjectID (Inherited from DbcObject.)
Public propertyObjectKey (Inherited from DbcObject.)
Public propertyObjectName (Inherited from DbcObject.)
Public propertyObjectType (Inherited from DbcObject.)
Public propertyParent (Inherited from DbcObject.)
Public propertyParentID (Inherited from DbcObject.)
Public propertyProperties (Inherited from DbcObject.)
Public propertyTables
List of tables
Public propertyViews
List of views
Top
Methods
  NameDescription
Public methodDecodeProperties (Inherited from DbcObject.)
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 methodLoadChildren (Inherited from DbcObject.)
Public methodRead (Inherited from DbcObject.)
Public methodReadChild (Inherited from DbcObject.)
Public methodReadField (Inherited from DbcObject.)
Public methodSetProp
-- todo --
Top
Remarks
When opened the list of tables, views and connections is populated. Fields, relations etc are not read.
See Also