Namespace : CA.Blocks.DataAccess.DI
Assembly : CA.Blocks.DataAccess.dll
Provides the interfaces and some common implementations for configuring the connection strings. This can use registered and injected when needed.
Name | Description | |
---|---|---|
CA.Blocks.DataAccess.DI.AppDotConfigConnectionStringsResolver | Uses the App.Config ConnectionStrings, this is common on .NET 1-4.8 frameworks. It will be using the App.config or web.config ConnectionStrings setting | |
CA.Blocks.DataAccess.DI.DataAccessConfigOptions | ||
CA.Blocks.DataAccess.DI.HardCodedConnectionStringsResolver | 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 : | |
CA.Blocks.DataAccess.DI.DataAccessConfig | ||
CA.Blocks.DataAccess.DI.JsonConfigConnectionStringsResolver | Uses the JsonConfig this is common on .NET core frameworks |
Name | Description | |
---|---|---|
CA.Blocks.DataAccess.DI.IDataAccessConfigOptions | provides the interfaces and some common implementations for configuring the connection strings | |
CA.Blocks.DataAccess.DI.IDataAccessConfig | ||
CA.Blocks.DataAccess.DI.IDataAccessKeyToConnectionStringResolver | This interface provides the lookup for connectionStringKey this could be from app.config or appsettings.json or could be custom logic |