Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public MaladeTest()
 {
     IUnitOfWork ophtalmocontext = new OphtalmoContext();
     Repo = new Repository<Malade>(ophtalmocontext);
 }
Esempio n. 4
0
 public ExamenTest()
 {
     IUnitOfWork ophtalmocontext = new OphtalmoContext();
     Repo = new Repository<Examen>(ophtalmocontext);
 }
Esempio n. 5
0
 public CompteRenduTest()
 {
     IUnitOfWork ophtalmocontext = new OphtalmoContext();
     Repo = new Repository<CompteRendu>(ophtalmocontext);
 }