示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ReviewCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReviewCategories(ReviewCategory reviewCategory)
 {
     base.AddObject("ReviewCategories", reviewCategory);
 }
示例#2
0
 /// <summary>
 /// Create a new ReviewCategory object.
 /// </summary>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 public static ReviewCategory CreateReviewCategory(global::System.Int32 categoryID)
 {
     ReviewCategory reviewCategory = new ReviewCategory();
     reviewCategory.CategoryID = categoryID;
     return reviewCategory;
 }