/// <summary> /// Deprecated Method for adding a new object to the Status EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStatus(Status status) { base.AddObject("Status", status); }
/// <summary> /// Create a new Status object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="statusID">Initial value of the StatusID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="statusMessage">Initial value of the StatusMessage property.</param> /// <param name="setTime">Initial value of the SetTime property.</param> /// <param name="isSet">Initial value of the IsSet property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static Status CreateStatus(global::System.Guid id, global::System.Int32 statusID, global::System.Guid userID, global::System.String statusMessage, global::System.DateTime setTime, global::System.Boolean isSet, global::System.Boolean isDeleted) { Status status = new Status(); status.ID = id; status.StatusID = statusID; status.UserID = userID; status.StatusMessage = statusMessage; status.SetTime = setTime; status.IsSet = isSet; status.IsDeleted = isDeleted; return status; }