/// <summary> /// Deprecated Method for adding a new object to the ReportCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReportCategories(ReportCategory reportCategory) { base.AddObject("ReportCategories", reportCategory); }
/// <summary> /// Create a new ReportCategory object. /// </summary> /// <param name="categoryId">Initial value of the CategoryId property.</param> /// <param name="name">Initial value of the name property.</param> public static ReportCategory CreateReportCategory(global::System.Int32 categoryId, global::System.String name) { ReportCategory reportCategory = new ReportCategory(); reportCategory.CategoryId = categoryId; reportCategory.name = name; return reportCategory; }