SnapDAL Library Documentation | |
DataFactory Constructor (String, String, Boolean, DirectoryInfo)
Constructor
Parameters
- connectionString
- The connection string required for the given provider
- providerName
- The name of the provider to use
- cacheStatements
- Boolean indicating if you want to cache your statments or have them read from the file system each call. This defaults to caching enabled.
- statementsDir
- A DirectoryInfo indicating the location of your statement files. Defaults the bin folder of the executing executable plus the name of the provider: ex: bin/SqlClient
See Also
DataFactory Class | SnapDAL Namespace | DataFactory Constructor Overload List