示例#1
0
 public EntityController()
 {
     // dataContex = new ChemDBEntities();
     dataContex = new MyDatabaseEntities();
     Entities   = GetAll();
 }
 public SubstanceController()
 {
     // dataContex = new ChemDBEntities();
     dataContex = new MyDatabaseEntities();
     Substances = GetAll();
 }