public RepositoryOpeningPipeline(IRepositoryFactory repositoryFactory, IRepositoryCallbacks repositoryCallbacks) { _repositoryFactory = repositoryFactory; _repositoryCallbacks = repositoryCallbacks; }
public IRepository Instance(IRepositoryCallbacks callbacks) { return new Repository(_sessionFactory.OpenSession()); }