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