public void Install(
IWindsorContainer container,
IConfigurationStore store)
{
container.RegisterSqlServerDocumentDb(Registration, ConnectionStringName);
container.Register(
Component.For<IAccountManagementDocumentDbQueryModelsReader, IUnitOfWorkParticipant>()
.ImplementedBy<AccountManagementDocumentDbQueryModelsReader>()
.DependsOn(
Registration.DocumentDb,
Dependency.OnValue<IDocumentDbSessionInterceptor>(NullOpDocumentDbSessionInterceptor.Instance))
.LifestylePerWebRequest()
);
}