CA.Blocks.DataAccess.DI

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.

Class Classes

NameDescription
ClassCA.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
ClassCA.Blocks.DataAccess.DI.DataAccessConfigOptions
ClassCA.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 :
ClassCA.Blocks.DataAccess.DI.DataAccessConfig
ClassCA.Blocks.DataAccess.DI.JsonConfigConnectionStringsResolver Uses the JsonConfig this is common on .NET core frameworks

Enum Interfaces

NameDescription
EnumCA.Blocks.DataAccess.DI.IDataAccessConfigOptions provides the interfaces and some common implementations for configuring the connection strings
EnumCA.Blocks.DataAccess.DI.IDataAccessConfig
EnumCA.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