/// <summary> /// Deprecated Method for adding a new object to the tblMealGallery EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblMealGallery(tblMealGallery tblMealGallery) { base.AddObject("tblMealGallery", tblMealGallery); }
/// <summary> /// Create a new tblMealGallery object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="meailId">Initial value of the MeailId property.</param> /// <param name="image">Initial value of the Image property.</param> public static tblMealGallery CreatetblMealGallery(global::System.Int32 id, global::System.Int32 meailId, global::System.Int32 image) { tblMealGallery tblMealGallery = new tblMealGallery(); tblMealGallery.Id = id; tblMealGallery.MeailId = meailId; tblMealGallery.Image = image; return tblMealGallery; }