Click or drag to resize
Ranorex

SqlDataConnector Class

Provides access to data stored in SQL (Structured Query Language) databases.
Inheritance Hierarchy

Namespace:  Ranorex.Core.Data
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 10.2.5+git.08880485
Syntax
public class SqlDataConnector : DataConnector

The SqlDataConnector type exposes the following members.

Constructors
  NameDescription
Public methodSqlDataConnector(XmlNode)
Initializes a new instance of the SqlDataConnector class.
Public methodSqlDataConnector(String, String, String, String, String)
Initializes a new instance of the SqlDataConnector class.
Top
Properties
  NameDescription
Public propertyConnectionString
Gets or sets the connection string to the database.
Public propertyDialogDataSource
Gets or sets the type of database used.
Public propertyId
Gets or sets the unique ID of the source.
(Inherited from DataConnector.)
Public propertyIsReadOnly
Gets or sets a value indicating whether this instance is read-only.
(Inherited from DataConnector.)
Public propertyName
Gets or sets the name of the source.
(Inherited from DataConnector.)
Public propertyProvider
Gets or sets the name of the underlying data provider provider used for the SQL connection.
Public propertyQuery
Gets or sets the SQL query selecting the data from the database.
Public propertyXmlIdentifier
Gets the unique identifier for serialization and deserialization purposes as well as factory creation.
(Overrides DataConnectorXmlIdentifier.)
Top
Methods
  NameDescription
Public methodDispose
Clean up any resources being used.
(Inherited from DataConnector.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Inherited from DataConnector.)
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 methodStatic memberGetFactory
Gets a factory object for the named data provider.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetXMLNode
Gets an XML node containing the definition of this source.
(Inherited from DataConnector.)
Protected methodGetXMLNodeDerived
Add DataSource specific information from derived classes to the node
(Overrides DataConnectorGetXMLNodeDerived(XmlNode).)
Public methodLoadColumns
Loads the data columns from the source.
(Inherited from DataConnector.)
Protected methodLoadColumnsImpl(ColumnCollection)
If implemented by an inheriting class, loads the data columns from the source.
(Inherited from DataConnector.)
Protected methodLoadColumnsImpl(ColumnCollection, Int32)
If implemented by an inheriting class, loads the data columns from the source and the number of rows in the data source.
(Inherited from DataConnector.)
Public methodLoadData
Loads the data from the source.
(Inherited from DataConnector.)
Protected methodLoadDataImpl
Loads the data from the source using the provided ConnectionString and SQL Query.
(Overrides DataConnectorLoadDataImpl(ColumnCollection, RowCollection).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStoreData
Stores the data to the data source.
(Inherited from DataConnector.)
Protected methodStoreDataImpl
Stores the data to the data source. Currently not supported.
(Overrides DataConnectorStoreDataImpl(ColumnCollection, RowCollection).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also