Click or drag to resize

MetaConnection Class

A MetaConnection defines a connection to a database
Inheritance Hierarchy

Namespace:  Seal.Model
Assembly:  SealLibrary (in SealLibrary.dll) Version: (
public class MetaConnection : RootComponent

The MetaConnection type exposes the following members.

Public methodMetaConnection
Initializes a new instance of the MetaConnection class
Public propertyClearPassword
Password in clear text
Public propertyConnectionString
OLE DB Connection string used to connect to the database if the connection type is OLE DB
Public propertyConnectionString2
Property Helper for editor
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 propertyError
Last error message
Public propertyFullConnectionString
Full Connection String (Oledb, Odbc or MSSQLServer) with user name and password
Public propertyGUID
The unique identifier
(Inherited from RootComponent.)
Public propertyHelperCheckConnection
Editor Helper: Check the database connection
Public propertyHelperCreateFromExcelAccess
Editor Helper: Helper to create a connection string to query an Excel workbook or a MS Access database
Public propertyInformation
Last information message when the enum list has been refreshed
Public propertyMSSqlServerConnectionString
MS SQLServer Connection string used to connect to the database if the connection type is MS SQLServer
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 propertyPassword
Protected propertyProperties
List of properties of the object
(Inherited from RootEditor.)
Public propertyUserName
User name used to connect to the database
Public methodCheckConnection
Check the current connection
Public methodStatic memberCreate
Create a basic connection into a source
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOpenConnection
Returns an open DbConnection object
Protected methodGetProperty
Get a property descriptor from a property name
(Inherited from RootEditor.)
Public methodGetType
Gets 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 methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetReadOnly
Set all properties to readonly
(Inherited from RootEditor.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateEditor
Update editor attributes
(Inherited from RootEditor.)
Protected methodUpdateEditorAttributes (Overrides RootEditorUpdateEditorAttributes.)
Protected field_dctd (Inherited from RootEditor.)
Protected field_GUID (Inherited from RootComponent.)
Protected field_name (Inherited from RootComponent.)
Public fieldDbConnectionResult
Result for the database connection script
Public fieldIsEditable
True if the connection is editable
Public fieldSource
Current MetaSource
See Also