コード例 #1
0
 /// <summary>
 /// Create a new ApprovalDetail object.
 /// </summary>
 /// <param name="idApprovalDetail">Initial value of the idApprovalDetail property.</param>
 /// <param name="idApproval">Initial value of the idApproval property.</param>
 /// <param name="idApprovalType">Initial value of the idApprovalType property.</param>
 /// <param name="idUser">Initial value of the idUser property.</param>
 public static ApprovalDetail CreateApprovalDetail(global::System.Int32 idApprovalDetail, global::System.Int32 idApproval, global::System.Int32 idApprovalType, global::System.Int32 idUser)
 {
     ApprovalDetail approvalDetail = new ApprovalDetail();
     approvalDetail.idApprovalDetail = idApprovalDetail;
     approvalDetail.idApproval = idApproval;
     approvalDetail.idApprovalType = idApprovalType;
     approvalDetail.idUser = idUser;
     return approvalDetail;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ApprovalDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApprovalDetails(ApprovalDetail approvalDetail)
 {
     base.AddObject("ApprovalDetails", approvalDetail);
 }