/// <summary> /// Deprecated Method for adding a new object to the Statys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStatys(Staty staty) { base.AddObject("Statys", staty); }
/// <summary> /// Create a new Staty object. /// </summary> /// <param name="statusID">Initial value of the StatusID property.</param> /// <param name="status">Initial value of the Status property.</param> public static Staty CreateStaty(global::System.Int32 statusID, global::System.String status) { Staty staty = new Staty(); staty.StatusID = statusID; staty.Status = status; return staty; }