public OracleConnectionTest()
        {
            using (var repositoryRegistrar = LocalIocManager.ResolveAsDisposable <EfGenericRepositoryRegistrar>())
            {
                repositoryRegistrar.Object.RegisterForDbContext(typeof(DDDDbContext), LocalIocManager, EfAutoRepositoryTypes.Default);
            }

            _checkoffAutoAcpAppService = LocalIocManager.IocContainer.Resolve <ICheckoffAutoAcpAppService>();

            _autoMapperInitializer = LocalIocManager.IocContainer.Resolve <IAutoMapperInitializer>();
        }
Exemple #2
0
 private void InitialAutoMapper(IAutoMapperInitializer autoMapperInitializer)
 {
     autoMapperInitializer.Initial();
 }