Click or drag to resize

ConnectionDataBase Class

Container class which is used to obtain connection data for a driver.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public abstract class ConnectionDataBase : DataCollectorBase

The ConnectionDataBase type exposes the following members.

Constructors
  NameDescription
Protected methodConnectionDataBase
Initializes a new instance of the ConnectionDataBase class.
Top
Properties
  NameDescription
Protected propertyConnectionElements
Gets the connection elements.
Protected propertyDriverToUse
Gets the driver to use.
Public propertyDriverVersion
Gets the driver version.
Public propertyEnableDisablePropertyFunc
Gets or sets the enable disable property function. This function is called (if not null) with the name of the property (first argument) to disable/enable (second argument) in a bound control.
(Inherited from DataCollectorBase.)
Public propertyFactoryName
Gets the name of the DbProviderFactory.
Public propertyIsReady
Gets a value indicating whether this instance is ready. By default this property always returns false. Implement this property in a derived class to check whether all information has been gatherered.
(Inherited from DataCollectorBase.)
Top
Methods
  NameDescription
Protected methodConstructConnectionElementsList
Constructs a hashtable with the elements for the connection string
Public methodCreatePropertyBagForProperties
Creates the property bag for the properties which are bound to the property grid
(Inherited from DataCollectorBase.)
Protected methodEnableDisableProperty
Enables / disables the property with the name specified using a set EnableDisablePropertyFunc
(Inherited from DataCollectorBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFillProperties
Fills the properties of this object with the data obtained from the ConnectionElements object available in the set driver (if any)
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.)
Protected methodGetPropertyNamesForBag
Gets the property names for the property bag to bind to the property grid. This list of names is used to create property descriptors which are easier to read as they have their names split on word breaks.
(Inherited from DataCollectorBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitTestConnection
Inits the test connection work.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Called when a property has changed its value, signaling subscribers that they should check whether this instance is ready.
(Overrides DataCollectorBaseOnPropertyChanged(String).)
Public methodPerformPostFirstBindWork
Performs the work to be done after the first bind.
Protected methodRaiseOnChangeT
Raises the on change.
(Inherited from DataCollectorBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateInformation
Validates the information specified.
Top
Events
  NameDescription
Public eventContentsChanged
Raised when one or more controls in the control were changed by the user.
Public eventDataCollectionChanged
Raised when data in this collector has been changed. Use IsReady to check whether this element is indeed complete or not.
(Inherited from DataCollectorBase.)
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from DataCollectorBase.)
Top
See Also