/// <summary> /// Deprecated Method for adding a new object to the vw_ImgCategory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovw_ImgCategory(vw_ImgCategory vw_ImgCategory) { base.AddObject("vw_ImgCategory", vw_ImgCategory); }
/// <summary> /// Create a new vw_ImgCategory object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="categoryID">Initial value of the CategoryID property.</param> public static vw_ImgCategory Createvw_ImgCategory(global::System.Int32 id, global::System.Int32 categoryID) { vw_ImgCategory vw_ImgCategory = new vw_ImgCategory(); vw_ImgCategory.ID = id; vw_ImgCategory.CategoryID = categoryID; return vw_ImgCategory; }