/// <summary> /// Deprecated Method for adding a new object to the Categories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCategories(Categories categories) { base.AddObject("Categories", categories); }
/// <summary> /// Create a new Categories object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="category1">Initial value of the Category1 property.</param> public static Categories CreateCategories(global::System.Int32 id, global::System.String category1) { Categories categories = new Categories(); categories.Id = id; categories.Category1 = category1; return categories; }