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