DbGate MembersEasyQuery WinForms API Reference

The DbGate type exposes the following members.
Constructors

  NameDescription
Public methodDbGate
Initializes a new instance of the DbGate class
Back to Top
Methods

  NameDescription
Protected methodAssembleConnectionString
Builds the final connection string based on the string defined in ConnectionString property, current environment variables and the parameters defined in UserID and Password properties.
Public methodCheckConnection
Checks the connection. Calls CoreCheckConnection() method.
Protected methodCoreCheckConnection
When overriden in derived class, performs the actual connection checking
Protected methodCoreGetDatabases
Protected methodCoreGetFields
Core implementation of GetFields(String, String, String) method.
Protected methodCoreGetFieldsBySQL
Core implementation of GetFieldsBySQL(String) method.
Protected methodCoreGetLinks
Core implementation of GetLinks(String, String) method.
Protected methodCoreGetTables
Core implementation of GetTables(String, String) method.
Protected methodCoreLoadParams
Core implementation of LoadParams(DbParameters) method.
Protected methodCoreSaveParams
Core implementation of SaveParams(DbParameters) method.
Public methodStatic memberDbTypeByDataType
Gets SqlDbType object which coressponds to DataType object specified in parameter
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Protected methodGetConnected
Core implemenation of "get" method of Connected property.
Protected methodGetConnection
When overriden in derived class, returns the connection
Public methodGetDataAdapter
Gets the data adapter.
Public methodGetDatabases
Gets the list of available databases.
Public methodGetFields
Gets the fields by table.
Public methodGetFieldsBySQL
Gets the fields of result set of some SQL statement execution.
Public methodGetFieldsEx
Gets the fields by table.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetLinks
Gets the list of available tables.
Public methodGetName
Gets the name of DbGate. Must be overrided in inherited classes
Protected methodGetPwdName
Gets the name of "password" attribute in connection string.
Public methodGetSqlDialect
Gets the name of default SQL dialect. Can be overrided in inherited classes
Public methodGetTables
Gets the list of available tables.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodGetUidName
Gets the name of User ID attribute in connection string
Protected methodGetVersion
Core implemenation of Version property. Must be overrided in descendants.
Public methodLoadParams
Loads the connection parameters.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnLoginRequest
Raises the [E:LoginRequest] event and filled UserID and Password by values returned in event arguments
Public methodStatic memberRegister
Registers the specified gate type.
Public methodSaveParams
Saves the connection parameters.
Protected methodSetConnected
Core implemenation of "set" method of Connected property.
Protected methodSetProgress
Set the progress to the specified position.
Protected methodSetProgressMinMax
Sets the minimum and maximum of progress indicator.
Public methodToString
Returns a OnlineString that represents the current OnlineObject.
(Overrides OnlineObject ToString .)
Back to Top
Fields

  NameDescription
Public fieldStatic memberDbGateTypes
The list of all registered DbGate types (descendants of DbGate)
Protected fieldfinalConnectionString
When overriden in derived class, return the connection
Back to Top
Properties

  NameDescription
Public propertyConnected
Gets or sets a value indicating whether this DbGate is connected. When this property is assigned to true then the object tries to connect to database.
Public propertyConnection
Gets the connection.
Public propertyConnectionString
Gets or sets the connection string.
Public propertyConnectionStringBuilderDlg
Gets or sets the connection string builder dialog.
Public propertyLoginPrompt
Gets or sets a value indicating whether DbGate object should ask user for login and password when connect to database.
Public propertyPassword
Gets or sets the "Password" parameter of database connection.
Public propertyProgressIndicator
Gets or sets the progress indicator object.
Public propertyUserID
Gets or sets the "User ID" parameter of database connection.
Public propertyUseViews
Gets or sets a value indicating whether DbGate will add views in the list of tables returned by GetTables(String, String) method.
Public propertyVersion
Gets the version of the current DbGate implementation
Back to Top
Events

  NameDescription
Public eventLoginRequest
Occurs when the DbGate objects needs to get UserID and Password to connect to some database.
Back to Top
See Also