DataProviderServices Class
Provides a variety of services for an ADO.NET provider.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.Extensibility.DataProviderServices
Microsoft.Data.Schema.SqlProviderServices
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public MustInherit Class DataProviderServices _
Implements IExtension
public abstract class DataProviderServices : IExtension
public ref class DataProviderServices abstract : IExtension
[<AbstractClass>]
type DataProviderServices =
class
interface IExtension
end
public abstract class DataProviderServices implements IExtension
The DataProviderServices type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataProviderServices | Initializes a new instance of the DataProviderServices class. |
Top
Properties
Name | Description | |
---|---|---|
AdoProvider | Gets the name of the ADO.NET provider. That provider is used by all the services that are available from classes that are derived from this class. | |
ConnectionStringParser | Gets a connection string parser that is derived from the IConnectionStringParser class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCompatibleDatabaseProviderServices | Returns a DataProviderServices that is compatible with the name of the provided ADO.NET provider. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Each derived service class corresponds to a specific data provider identified by its namespace. Mark each derived service class by using the DatabaseSchemaProviderCompatibilityAttribute but with a parameter of nulla null reference (Nothing in Visual Basic). You must use the following syntax: [DatabaseSchemaProviderCompatibility(null)].
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Data.Schema.Extensibility Namespace
DatabaseSchemaProviderCompatibilityAttribute