コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ReportCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReportCategories(ReportCategory reportCategory)
 {
     base.AddObject("ReportCategories", reportCategory);
 }
コード例 #2
0
 /// <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;
 }