SnapDAL Library Documentation

DelegateProvider Members

DelegateProvider overview

Public Instance Properties

Name 
ParamTypeMappings (inherited from Provider) The parameter type mapping associated with the provider. See the documentation
Providers 
Statements (inherited from Provider) The statement manager and cache.

Public Instance Methods

AddProviderOverloaded.  
CreateCommand (inherited from Provider) Create a command for this provider. In this version, the actual sql is used instead of a statement name
CreateConnection (inherited from Provider) Create a Connection for this provider
CreateDataAdapter (inherited from Provider)Overloaded. Create a DataAdapter for this provider
CreateParameter (inherited from Provider)Overloaded. 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.
GetStatement (inherited from Provider)Overloaded. Looks up a statement from the manager. Allows for abstractions away from the StatementManager.
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 Fields

_classTypes (inherited from Provider)A holder class for the types of objects a provider can create
_connections Their default connection strings.
_paramTypes (inherited from Provider)The mapping of CLR/Types to DB types (enum values for each provider)
_providers The real providers
_recordToDir (inherited from Provider) Do we record the data as we get it?
_statements (inherited from Provider)The StatmentmentManage who can cache and collect statements

Protected Instance Methods

CloneCommand (inherited from Provider) 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.
GetStatement (inherited from Provider)Overloaded. 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 Constructors

DelegateProviderOverloaded. Initializes a new instance of the DelegateProvider class.

Protected Internal Instance Methods

CreateDataAdapter (inherited from Provider)Overloaded. Create a DataAdapter for this provider
ExecuteScalar 
GetDataSet 
GetDataTable 
LoadDefaultParamTypes (inherited from Provider) 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

DelegateProvider Class | SnapDAL.Providers Namespace