Exemplo n.º 1
0
 /// <summary>
 /// Create a new Approval object.
 /// </summary>
 /// <param name="idApproval">Initial value of the idApproval property.</param>
 /// <param name="about">Initial value of the About property.</param>
 /// <param name="idUser">Initial value of the idUser property.</param>
 public static Approval CreateApproval(global::System.Int32 idApproval, global::System.String about, global::System.Int32 idUser)
 {
     Approval approval = new Approval();
     approval.idApproval = idApproval;
     approval.About = about;
     approval.idUser = idUser;
     return approval;
 }
Exemplo 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);
 }