/// <summary> /// Create a new Approval object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="approvalUser">Initial value of the ApprovalUser property.</param> /// <param name="approvalStatusId">Initial value of the ApprovalStatusId property.</param> public static Approval CreateApproval(global::System.Guid id, global::System.Guid approvalUser, global::System.Int32 approvalStatusId) { Approval approval = new Approval(); approval.Id = id; approval.ApprovalUser = approvalUser; approval.ApprovalStatusId = approvalStatusId; return approval; }
/// <summary> /// Deprecated Method for adding a new object to the Approvals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToApprovals(Approval approval) { base.AddObject("Approvals", approval); }