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