/// <summary>
 /// Configures <see cref="UnitOfWorkScope"/> settings.
 /// </summary>
 /// <param name="containerAdapter">The <see cref="ICustomDependencyResolver"/> instance.</param>
 public void Configure(ICustomDependencyResolver containerAdapter)
 {
     containerAdapter.RegisterType<ITransactionManager, App.Data.TransactionManager>(LifetimeType.Transient);
     UnitOfWorkSettings.AutoCompleteScope = _autoCompleteScope;
     UnitOfWorkSettings.DefaultIsolation = _defaultIsolation;
 }
 /// <summary>
 /// Called by application <see cref="Configure"/> to configure data providers.
 /// </summary>
 /// <param name="containerAdapter">The <see cref="IContainerAdapter"/> instance that allows
 /// registering components.</param>
 public void Configure(ICustomDependencyResolver containerAdapter)
 {
     containerAdapter.RegisterInstance<IUnitOfWorkFactory>(_factory);
     containerAdapter.RegisterType(typeof(IRepository<,>), _defaultRepositoryType,LifetimeType.Transient);
 }
 /// <summary>
 /// Called by NCommon <see cref="Configure"/> to configure data providers.
 /// </summary>
 /// <param name="containerAdapter">The <see cref="IContainerAdapter"/> instance that allows
 /// registering components.</param>
 public void Configure(ICustomDependencyResolver containerAdapter)
 {
     containerAdapter.RegisterInstance<IUnitOfWorkFactory>(_factory);
     containerAdapter.RegisterType(typeof(IRepository<,>), typeof(EFRepository<,>));
 }