예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Categories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCategories(Categories categories)
 {
     base.AddObject("Categories", categories);
 }
예제 #2
0
 /// <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;
 }