コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_GBL_LKP_ApprovalStatus EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_GBL_LKP_ApprovalStatus(HR_GBL_LKP_ApprovalStatus hR_GBL_LKP_ApprovalStatus)
 {
     base.AddObject("HR_GBL_LKP_ApprovalStatus", hR_GBL_LKP_ApprovalStatus);
 }
コード例 #2
0
 /// <summary>
 /// Create a new HR_GBL_LKP_ApprovalStatus object.
 /// </summary>
 /// <param name="approvalStatusID">Initial value of the ApprovalStatusID property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static HR_GBL_LKP_ApprovalStatus CreateHR_GBL_LKP_ApprovalStatus(global::System.Int32 approvalStatusID, global::System.String status)
 {
     HR_GBL_LKP_ApprovalStatus hR_GBL_LKP_ApprovalStatus = new HR_GBL_LKP_ApprovalStatus();
     hR_GBL_LKP_ApprovalStatus.ApprovalStatusID = approvalStatusID;
     hR_GBL_LKP_ApprovalStatus.Status = status;
     return hR_GBL_LKP_ApprovalStatus;
 }