示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RestaurantJeu EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRestaurantJeu(Restaurant restaurant)
 {
     base.AddObject("RestaurantJeu", restaurant);
 }
示例#2
0
 /// <summary>
 /// Create a new Restaurant object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="adresse">Initial value of the Adresse property.</param>
 /// <param name="capacite">Initial value of the Capacite property.</param>
 /// <param name="tel">Initial value of the Tel property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 public static Restaurant CreateRestaurant(global::System.Int32 id, global::System.String description, global::System.String adresse, global::System.Int32 capacite, global::System.String tel, global::System.String email)
 {
     Restaurant restaurant = new Restaurant();
     restaurant.ID = id;
     restaurant.Description = description;
     restaurant.Adresse = adresse;
     restaurant.Capacite = capacite;
     restaurant.Tel = tel;
     restaurant.Email = email;
     return restaurant;
 }