Example #1
0
        public List <Medicine> GetMedicines()
        {
            var query     = SqlQueryGeneration.GetAllMedicinesByIngredientId(((IEntity)this).EntityId);
            var medicines = new SqlExecuteManager().GetMedicine(query);

            return(medicines);
        }
Example #2
0
        public List<Ingredient> GetIngredients()
        {
            var query = SqlQueryGeneration.GetIngredientByMedicineIdId(this.Id);
            var ingredients = new SqlExecuteManager().GetIngredient(query);

            return ingredients;
        }
Example #3
0
 static DoctorManager()
 {
     _sqlManager = new SqlExecuteManager();
 }
 static MedicineTypeManager()
 {
     _sqlManager = new SqlExecuteManager();
 }
 static RecipeManager()
 {
     _sqlManager = new SqlExecuteManager();
 }
Example #6
0
 static OrderManager()
 {
     _sqlManager = new SqlExecuteManager();
 }
Example #7
0
 static IngredientManager()
 {
     _sqlManager = new SqlExecuteManager();
 }
 static PatientManager()
 {
     _sqlManager = new SqlExecuteManager();
 }