Пример #1
0
 public RelationShipTest()
 {
     IUnitOfWork ophtalmocontext = new OphtalmoContext();
     CompteRendusRepo = new Repository<CompteRendu>(ophtalmocontext);
     ExamsRepo= new Repository<Examen>(ophtalmocontext);
     MaladeRepo = new Repository<Malade>(ophtalmocontext);
     MedecinRepo=new Repository<Medecin>(ophtalmocontext);
 }
Пример #2
0
 //protected Repository<Malade> MaladeRepo { get; set; }
 //protected Repository<Examen> ExamenRepo { get; set; }
 //protected Repository<CompteRendu> CompteRenduRepo { get; set; }
 public MedecinTest()
 {
     IUnitOfWork ophtalmocontext = new OphtalmoContext();
     Repo = new Repository<Medecin>(ophtalmocontext);
 }
Пример #3
0
 public MaladeTest()
 {
     IUnitOfWork ophtalmocontext = new OphtalmoContext();
     Repo = new Repository<Malade>(ophtalmocontext);
 }
Пример #4
0
 public ExamenTest()
 {
     IUnitOfWork ophtalmocontext = new OphtalmoContext();
     Repo = new Repository<Examen>(ophtalmocontext);
 }
Пример #5
0
 public CompteRenduTest()
 {
     IUnitOfWork ophtalmocontext = new OphtalmoContext();
     Repo = new Repository<CompteRendu>(ophtalmocontext);
 }