SnapDAL Library Documentation

RecordingProvider Members

RecordingProvider overview

Protected Static Methods

CacheFilePathOverloaded. The directory name where the cached data lives relative to the given directory

Public Instance Properties

cacheFileTag This tag will be appended to the name of the cache file to "categorize" the file. A common use would be to add the test name associated with the cache file to the name.
Name 
ParamTypeMappings (inherited from Provider) The parameter type mapping associated with the provider. See the documentation
Providers (inherited from DelegateProvider) 
Statements (inherited from Provider) The statement manager and cache.

Public Instance Methods

AddProvider (inherited from DelegateProvider)Overloaded.  
CacheDataOverloaded. Stores the datatable
CreateCommand Create a IDbCommand by delegating to the first provider added to the delegated provider
CreateConnection Create a Connection based on the connection string. If possible, return a real connection appropriate for the connection string, otherwise just return a mock connection
CreateDataAdapterOverloaded. Create a DataAdapter by delegating to the first provider added to the delegated provider.
CreateParameterOverloaded.  
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 (inherited from DelegateProvider) Their default connection strings.
_paramTypes (inherited from Provider)The mapping of CLR/Types to DB types (enum values for each provider)
_providers (inherited from DelegateProvider) 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

CacheDataOverloaded. Stores the integer value
CacheFilePathOverloaded.  
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.
GetDataNode 
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.
SaveDataNode 

Protected Internal Instance Constructors

RecordingProviderOverloaded. Initializes a new instance of the RecordingProvider 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

RecordingProvider Class | SnapDAL.Providers Namespace