public void Insert(string RecipeDetailID, string RecipeHeaderID, string ItemNo, double Qty, string Uom) { RecipeDetail item = new RecipeDetail(); item.RecipeDetailID = RecipeDetailID; item.RecipeHeaderID = RecipeHeaderID; item.ItemNo = ItemNo; item.Qty = Qty; item.Uom = Uom; item.Save(UserName); }
public void Update(string RecipeDetailID, string RecipeHeaderID, string ItemNo, double Qty, string Uom) { RecipeDetail item = new RecipeDetail(); item.MarkOld(); item.IsLoaded = true; item.RecipeDetailID = RecipeDetailID; item.RecipeHeaderID = RecipeHeaderID; item.ItemNo = ItemNo; item.Qty = Qty; item.Uom = Uom; item.Save(UserName); }
public bool Destroy(object RecipeDetailID) { return(RecipeDetail.Destroy(RecipeDetailID) == 1); }
public bool Delete(object RecipeDetailID) { return(RecipeDetail.Delete(RecipeDetailID) == 1); }