Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DbProvider Members

DbProvider overview

Public Instance Constructors

DbProvider Constructor Initializes a new instance of the DbProvider class.

Public Instance Properties

ConnectionString Connection string used to create connections.
DbMetadata Return metadata information about the database provider

Public Instance Methods

CreateCommand Returns a new command object for executing SQL statments/Stored Procedures against the database.
CreateCommandBuilder Returns a new instance of the providers CommandBuilder class.
CreateConnection Returns a new connection object to communicate with the database.
CreateDataAdapter Returns a new adapter objects for use with offline DataSets.
CreateParameter Returns a new parameter object for binding values to parameter placeholders in SQL statements or Stored Procedure variables.
CreateParameterName Creates the name of the parameter in the format appropriate to use inside IDbCommand.CommandText.
CreateParameterNameForCollection Creates the name ofthe parameter in the format appropriate for an IDataParameter, i.e. to be part of a IDataParameterCollection.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ExtractError Extracts the provider specific error code as a string.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IsDataAccessException Determines whether the provided exception is in fact related to database access. This can be provider dependent in .NET 1.1 since there isn't a common base class for ADO.NET exceptions.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DbProvider Class | Spring.Data.Common Namespace