コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DishView EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDishView(DishView dishView)
 {
     base.AddObject("DishView", dishView);
 }
コード例 #2
0
 /// <summary>
 /// Create a new DishView object.
 /// </summary>
 /// <param name="dishID">Initial value of the DishID property.</param>
 /// <param name="dishName">Initial value of the DishName property.</param>
 public static DishView CreateDishView(global::System.Int32 dishID, global::System.String dishName)
 {
     DishView dishView = new DishView();
     dishView.DishID = dishID;
     dishView.DishName = dishName;
     return dishView;
 }