Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Approvals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApprovals(Approval approval)
 {
     base.AddObject("Approvals", approval);
 }