public PeerRepository(IUnitOfWork unitOfWork) { _freeFilesObjectContext = unitOfWork as FreeFilesEntitiesContext; }
public FileRepository(IUnitOfWork unitOfWork) { _freeFilesObjectContext = unitOfWork as FreeFilesEntitiesContext; }
public ORM() { fileRepository = new FileRepository(_freeFilesObjectContext as FreeFilesServerConsole.IUnitOfWork); _freeFilesObjectContext = new FreeFilesEntitiesContext(); }