/// <summary> /// Create a new Restuarant object. /// </summary> /// <param name="rID">Initial value of the RID property.</param> public static Restuarant CreateRestuarant(global::System.Guid rID) { Restuarant restuarant = new Restuarant(); restuarant.RID = rID; return restuarant; }
/// <summary> /// Deprecated Method for adding a new object to the Restuarants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRestuarants(Restuarant restuarant) { base.AddObject("Restuarants", restuarant); }