Click or drag to resize

MetaConnection Class

A MetaConnection defines a connection to a database
Inheritance Hierarchy
SystemObject
  Seal.ModelRootEditor
    Seal.ModelRootComponent
      Seal.ModelMetaConnection

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 8.0.0.0+c5a14bc14715399f60fcf611201a5e8ad953fbc3
Syntax
C#
public class MetaConnection : RootComponent

The MetaConnection type exposes the following members.

Constructors
 NameDescription
Public methodMetaConnectionInitializes a new instance of the MetaConnection class
Top
Properties
 NameDescription
Public propertyClearPassword Password in clear text
Public propertyCommandTimeout "Default Timeout in seconds for the SQL Statements executed. 0 means no Timeout.
Public propertyConnectionScript If set, script executed to instanciate and open the connection
Public propertyConnectionString OLE DB Connection string used to connect to the database if the connection type is OLE DB
Public propertyConnectionType The type of the connection used
Public propertyDatabaseType The type of the source database
Public propertyDateTimeFormat The date time format used to build date restrictions in the SQL WHERE clauses. This is not used for MS Access database (Serial Dates).
Public propertyEndDelimiter 
Public propertyError Last error message
Public propertyFullConnectionString Full Connection String (Oledb, Odbc, MSSQLServer, MongoDB, Oracle, MySQL) with user name and password
Public propertyGUID The unique identifier
(Inherited from RootComponent)
Public propertyHelperCheckConnection Editor Helper: Check the database connection
Public propertyInformation Last information message when the enum list has been refreshed
Public propertyMongoDBConnectionString Mongo DB Connection string used to connect to the database if the connection type is Mongo DB
Public propertyMSSqlServerConnectionString MS SQLServer Connection string used to connect to the database if the connection type is MS SQLServer
Public propertyMySQLConnectionString MySQL Connection string used to connect to the database if the connection type is MySQL
Public propertyName The name of the connection
(Overrides RootComponentName)
Public propertyOdbcConnectionString ODBC Connection string used to connect to the database if the connection type is ODBC
Public propertyOracleConnectionString Oracle Connection string used to connect to the database if the connection type is Oracle
Public propertyPassword Password
Public propertyStartDelimiter 
Public propertyUserName User name used to connect to the database
Top
Methods
 NameDescription
Public methodCheckConnection Check the current connection
Public methodStatic memberCreate Create a basic connection into a source
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetOpenConnection Returns an open DbConnection object
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInit Init the editor objects
(Inherited from RootEditor)
Public methodInitDefaultValues Init the default values
(Inherited from RootEditor)
Public methodInitEditor Init the editor objects and the default values
(Inherited from RootEditor)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetReadOnly Set all properties to readonly
(Inherited from RootEditor)
Public methodShouldSerializeCommandTimeout 
Public methodShouldSerializeConnectionScript 
Public methodShouldSerializeConnectionString 
Public methodShouldSerializeMongoDBConnectionString 
Public methodShouldSerializeMSSqlServerConnectionString 
Public methodShouldSerializeMySQLConnectionString 
Public methodShouldSerializeOdbcConnectionString 
Public methodShouldSerializeOracleConnectionString 
Public methodShouldSerializeUserName 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateEditor Update editor attributes
(Inherited from RootEditor)
Protected methodUpdateEditorAttributes Refresh properties attrivutes
(Inherited from RootEditor)
Top
Fields
 NameDescription
Protected field_dctd
(Inherited from RootEditor)
Protected field_GUID
(Inherited from RootComponent)
Protected field_name
(Inherited from RootComponent)
Public fieldDbConnection Result connection set by the ConnectionScript if any
Public fieldIsEditable True if the connection is editable
Public fieldStatic memberPasswordKeyName 
Public fieldStatic memberPasswordKeyValue 
Public fieldSource Current MetaSource
Top
See Also