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); }
//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); }
public MaladeTest() { IUnitOfWork ophtalmocontext = new OphtalmoContext(); Repo = new Repository<Malade>(ophtalmocontext); }
public ExamenTest() { IUnitOfWork ophtalmocontext = new OphtalmoContext(); Repo = new Repository<Examen>(ophtalmocontext); }
public CompteRenduTest() { IUnitOfWork ophtalmocontext = new OphtalmoContext(); Repo = new Repository<CompteRendu>(ophtalmocontext); }