Click or drag to resize

Provider Class

Contains the properties for a Provider object used to configure a connection to a database. The connection can use a .NET, ODBC or OLEDB provider, depending on the supported types loaded from the providers.xml file. The Provider class is needed when defining an IConnection object. Specifically, the name field will be used to determine the connection class type to be used to instantiate an ADO.NET System.Data.IDbConnection instance.
Inheritance Hierarchy
SystemObject
  HiTSoftware.DBMoto.ApplicationProvider

Namespace:  HiTSoftware.DBMoto.Application
Assembly:  APILibrary (in APILibrary.dll) Version: 7.0.0.0 (9.8.1.7)
Syntax
public class Provider

The Provider type exposes the following members.

Methods
  NameDescription
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberCode exampleGetProvidersList
Returns the list of providers for a specified database.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fielddescription
A description of the provider.
Public fieldname
Name of the provider. The name of the provider is normally defined as the name of the connection class, for instance System.Data.SqlClient.SqlConnection.
Top
See Also