Interface IDbResolver
- Namespace
- Stratara.Abstractions.Persistence
- Assembly
- Stratara.Abstractions.dll
Resolves the connection string used by the current request / scope. Allows hosts to implement per-tenant / per-region DB routing without coupling repositories to the resolver implementation.
public interface IDbResolver
- Extension Methods
Methods
ResolveConnectionString()
Return the connection string for the current scope.
string ResolveConnectionString()