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