Namespace :CA.Blocks.DataAccess.DI
Assembly : CA.Blocks.DataAccess.dll
This is a hard coded Connection String Resolver. This class is useful for providing examples and quick prototype code. Typically you will not use this once rolling out the application. The Configuration used is a Hosting app concern. See examples at :
Name | Description | |
---|---|---|
HardCodedConnectionStringsResolver(System.String) | Creates a new instance of HardCodedConnectionStringsResolver that implements IDataAccessKeyToConnectionStringResolver. The connectionString passed in will be given back at run time. The connectionStringKey is ignored with this class. |
Name | Description | |
---|---|---|
GetConnectionString(System.String) | returns the _connectionString given at creation time. |