Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CategoriesCns EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCategoriesCns(CategoriesCn categoriesCn)
 {
     base.AddObject("CategoriesCns", categoriesCn);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new CategoriesCn object.
 /// </summary>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="categoryName">Initial value of the CategoryName property.</param>
 public static CategoriesCn CreateCategoriesCn(global::System.Int32 categoryID, global::System.String categoryName)
 {
     CategoriesCn categoriesCn = new CategoriesCn();
     categoriesCn.CategoryID = categoryID;
     categoriesCn.CategoryName = categoryName;
     return categoriesCn;
 }