Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_NewsCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_NewsCategories(tbl_NewsCategories tbl_NewsCategories)
 {
     base.AddObject("tbl_NewsCategories", tbl_NewsCategories);
 }
Example #2
0
 /// <summary>
 /// Create a new tbl_NewsCategories object.
 /// </summary>
 /// <param name="newsCategoryID">Initial value of the NewsCategoryID property.</param>
 /// <param name="nC_SiteMapID">Initial value of the NC_SiteMapID property.</param>
 /// <param name="nC_CategoryID">Initial value of the NC_CategoryID property.</param>
 public static tbl_NewsCategories Createtbl_NewsCategories(global::System.Int32 newsCategoryID, global::System.Int32 nC_SiteMapID, global::System.Int32 nC_CategoryID)
 {
     tbl_NewsCategories tbl_NewsCategories = new tbl_NewsCategories();
     tbl_NewsCategories.NewsCategoryID = newsCategoryID;
     tbl_NewsCategories.NC_SiteMapID = nC_SiteMapID;
     tbl_NewsCategories.NC_CategoryID = nC_CategoryID;
     return tbl_NewsCategories;
 }