private IUnitOfWorkFactory GetFactory(DatastoreType datastore)
        {
            IUnitOfWorkFactory factory;

            if (!_factories.TryGetValue(datastore, out factory)) {
                throw new NotSupportedException("Specified datastore is not supported.");
            }

            return factory;
        }
 public DatastoreAttribute(DatastoreType datastore)
 {
     Datastore = datastore;
 }