/// <summary> /// Deprecated Method for adding a new object to the restaurants_status EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTorestaurants_status(restaurants_status restaurants_status) { base.AddObject("restaurants_status", restaurants_status); }
/// <summary> /// Create a new restaurants_status object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> public static restaurants_status Createrestaurants_status(global::System.Int32 id, global::System.String name) { restaurants_status restaurants_status = new restaurants_status(); restaurants_status.id = id; restaurants_status.name = name; return restaurants_status; }