public List <Medicine> GetMedicines() { var query = SqlQueryGeneration.GetAllMedicinesByIngredientId(((IEntity)this).EntityId); var medicines = new SqlExecuteManager().GetMedicine(query); return(medicines); }
public List<Ingredient> GetIngredients() { var query = SqlQueryGeneration.GetIngredientByMedicineIdId(this.Id); var ingredients = new SqlExecuteManager().GetIngredient(query); return ingredients; }
static DoctorManager() { _sqlManager = new SqlExecuteManager(); }
static MedicineTypeManager() { _sqlManager = new SqlExecuteManager(); }
static RecipeManager() { _sqlManager = new SqlExecuteManager(); }
static OrderManager() { _sqlManager = new SqlExecuteManager(); }
static IngredientManager() { _sqlManager = new SqlExecuteManager(); }
static PatientManager() { _sqlManager = new SqlExecuteManager(); }