![]() ![]() | The name of the currently executing test. Used for matching mock readers and data for statements |
![]() ![]() | A key/value dictionary of test parameters. Used to pass parameters to queries when the original query being mocked might not have them, and to select specific test datasets based on parameters. The key is the name of a query, the value is a HybridDictionary of parameter name, parameter value. |
![]() | The provider name |
![]() | The parameter type mapping associated with the provider. See the documentation |
![]() | |
![]() | The statement manager and cache. |
![]() | Overloaded. |
![]() | Create a command for this provider. In this version, the actual sql is used instead of a statement name |
![]() | Create a Connection for this provider |
![]() | Overloaded. Create a DataAdapter for this provider |
![]() | Overloaded. Create a parameter for this provider and set the value |
![]() | Overloaded. Create a parameter. |
![]() | Take the given DataFactory and replace it with one that will completely record a series of calls and setup the test configuration so the recorded calls can be used in a test. Assumes that the test name is set as this is required for congiguration setup. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Overloaded. Looks up a statement from the manager. Allows for abstractions away from the StatementManager. |
![]() | Gets the Type of the current instance. |
![]() | Given a data reader, create a mock data reader from it so you can use it in testing with expectations. |
![]() | Setup the given MockCommand with expected readers, if any, based on the statement name and current test name |
![]() | Returns a String that represents the current Object. |
![]() | A holder class for the types of objects a provider can create |
![]() | Their default connection strings. |
![]() | The mapping of CLR/Types to DB types (enum values for each provider) |
![]() | The real providers |
![]() | Do we record the data as we get it? |
![]() | The StatmentmentManage who can cache and collect statements |
![]() | gets the path to the mock data |
![]() | |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Overloaded. Looks up a statement from the manager. Allows for abstractions away from the StatementManager. |
![]() | Creates a shallow copy of the current Object. |
![]() | Overloaded. Create a DataAdapter for this 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. |
MockProvider Class | SnapDAL.Providers Namespace