/// <summary> /// Create a new CategoriesFr object. /// </summary> /// <param name="categoryID">Initial value of the CategoryID property.</param> /// <param name="categoryName">Initial value of the CategoryName property.</param> public static CategoriesFr CreateCategoriesFr(global::System.Int32 categoryID, global::System.String categoryName) { CategoriesFr categoriesFr = new CategoriesFr(); categoriesFr.CategoryID = categoryID; categoriesFr.CategoryName = categoryName; return categoriesFr; }
/// <summary> /// Deprecated Method for adding a new object to the CategoriesFrs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCategoriesFrs(CategoriesFr categoriesFr) { base.AddObject("CategoriesFrs", categoriesFr); }