DataProviderInfo Class

This is a Library topic for Data Abstract for .NET
This page is generated from external data, please do not update
Namespaces — Interfaces — Classes — Enums — Implements
Contents |
Overview
DataProviderInfo is a class that stores information about ADO.NET providers known to the server application.
This class is used by other classes in the RemObjects.DataAbstract.Server assembly to obtain database specific information, for example, ConnectionStringParser uses this class to build a connection string. The Configuration class will load a list of DataProviderInfo from configuration data on server start. In most cases, you will not use this class directly, but if you wish to add your own database driver, you can describe it in the configuration file as shown in this article.
Location
- Assembly: RemObjects.DataAbstract.Server.dll
- Namespace: RemObjects.DataAbstract.Server
- Ancestry: NamedObject | DataProviderInfo
Properties
| AssemblyName |
|---|
|
This property is used internally by the GetFactory method to load specific assemblies (for example, FirebirdSql.Data.FirebirdClient, Version=2.5.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c). Can be null if the ProviderName property is specified.
|
| CommandBuilderClassName |
|
This property, as well as ConnectionClassName, will be used internally in the InternalProviderFactory which is created by the GetFactory method if no value for FactoryClassName is set.
|
| ConnectionClassName |
|
|
| DefaultProfileMapping |
|
Returns default ProfileMapping from the DriverProfiles list. The default profile is one whose name equals "*".
|
| Description |
|
|
| DriverBased |
|
Indicates that driver specific ProfileMapping should be used.
|
| DriverNotFoundText |
|
|
| DriverProfiles |
|
|
| FactoryClassName |
|
This property indicates the name of the factory instance that must be acquired from the driver assembly by the GetFactory method.
|
| NewConnectionHelpText |
|
|
| OptionalParams |
|
List of parameters that will be added to the connection string (for example, for a MSSQL.net provider, it would be the "Integrated Security=SSPI" parameter).
|
| OriginalDriverParamName |
|
|
| ParameterHandling |
|
Indicates how the driver handles encoding of parameters within SQL queries. Parameters can either be handled sequentially (i.e. based on the order of their occurrence in the query text), or by name.
|
| ParameterNameSymbol |
|
Symbol that indicates a driver specific parameter prefix (for example, for MSSQL.Net, the value is "@").
|
| ParameterSQLSymbol |
|
Symbol that indicates an SQL specific parameter prefix (for example, for ORACLE.Net, the value is ":").
|
| ProviderName |
|
|
| Validated |
|
|
| ValidationError |
|
|
Instance Methods
| constructor |
|---|
|
Creates a new instance of DataProviderInfo and loads information from the aXmlNode parameter. If the configuration settings are invalid, the DAConfigurationError exception will be raised.
|
| FindProfile |
|
|
| FindProfileMapping |
|
Finds a profile with a specified name within the DriverProfiles list. If the DriverBased property is set to false, DefaultProfileMapping is returned.
|
| GetFactory |
|
This method will return the DbProviderFactory depending on class settings. If the ProviderName property is set, the factory class will be acquired from the DbProviderFactories class. Otherwise, an instance of FactoryClassName will be obtained from the assembly or an InternalProviderFactory instance will be created.
|
| GetProfile |
|
|
| GetProfileMapping |
|
|
| Validate |
|
|
| ValidateDbFactory protected |
|
|
See Also
- Lists
- Data Abstract for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects Script for .NET: Namespaces — Classes
- Data Abstract shared: Data Types – File Types
- other editions:
- Data Abstract for Xcode: Protocols — Classes — Enums — Implements
- Data Abstract for Delphi: Interfaces — Classes — Enums — Aliases — Implements
- Data Abstract for Java: Namespaces — Interfaces — Classes — Enums — Implements
- Data Abstract for JavaScript: Objects
- Data Abstract for .NET: Namespaces — Interfaces — Classes — Enums — Implements

Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode