public IUnitOfWork Create()
{
return _contextType == null ?
new EntityFrameworkUnitOfWork(_configuration, _contextFactory, _dbConfiguration, _logger) :
new EntityFrameworkUnitOfWork(_contextType, _connectionString, _dbConfiguration, _logger);
}