/// <summary>
 /// Deprecated Method for adding a new object to the Restaurant EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRestaurant(Restaurant restaurant)
 {
     base.AddObject("Restaurant", restaurant);
 }
 /// <summary>
 /// Create a new Restaurant object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="bar">Initial value of the Bar property.</param>
 /// <param name="relationshipId">Initial value of the RelationshipId property.</param>
 public static Restaurant CreateRestaurant(global::System.Guid id, global::System.Boolean bar, global::System.Guid relationshipId)
 {
     Restaurant restaurant = new Restaurant();
     restaurant.Id = id;
     restaurant.Bar = bar;
     restaurant.RelationshipId = relationshipId;
     return restaurant;
 }