SnapDAL Library Documentation

Provider Methods

The methods of the Provider class are listed below. For a complete list of Provider class members, see the Provider Members topic.

Public Static Methods

CreateOverloaded. Load a provider for the specified ProviderType with default settings.

Public Instance Methods

CreateCommand Create a command for this provider. In this version, the actual sql is used instead of a statement name
CreateConnection Create a Connection for this provider
CreateDataAdapterOverloaded. Create a DataAdapter for this provider
CreateParameterOverloaded. Create a parameter for this provider and set the value
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetStatementOverloaded. Using the providers cache, retrieve a Statement for the geven statement name
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

CloneCommand Clones a command from the statement.
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.
GetStatementOverloaded. Looks up a statement from the manager. Allows for abstractions away from the StatementManager.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Protected Internal Instance Methods

CreateDataAdapterOverloaded.  
ExecuteScalar 
GetDataSet 
GetDataTable 
LoadDefaultParamTypes Set up the default parameter types. This method is where the provider determines both the parameter types that are supported, as well as the mapping between the IDb types and the real parameter types.

See Also

Provider Class | SnapDAL Namespace