コード例 #1
0
 /// <summary>
 /// Create a new HR_Employee object.
 /// </summary>
 /// <param name="companyID">Initial value of the CompanyID property.</param>
 /// <param name="employeeUID">Initial value of the EmployeeUID property.</param>
 /// <param name="employeeNumber">Initial value of the EmployeeNumber property.</param>
 /// <param name="companyEmployeeID">Initial value of the CompanyEmployeeID property.</param>
 /// <param name="lastname">Initial value of the Lastname property.</param>
 /// <param name="firstname">Initial value of the Firstname property.</param>
 /// <param name="middlename">Initial value of the Middlename property.</param>
 /// <param name="titleCode">Initial value of the TitleCode property.</param>
 /// <param name="salaryGradeCode">Initial value of the SalaryGradeCode property.</param>
 /// <param name="joinedDate">Initial value of the JoinedDate property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="bloodGroup">Initial value of the BloodGroup property.</param>
 /// <param name="nationality">Initial value of the Nationality property.</param>
 public static HR_Employee CreateHR_Employee(global::System.Int64 companyID, global::System.Guid employeeUID, global::System.Int64 employeeNumber, global::System.String companyEmployeeID, global::System.String lastname, global::System.String firstname, global::System.String middlename, global::System.Int32 titleCode, global::System.Int32 salaryGradeCode, global::System.DateTime joinedDate, global::System.String isActive, global::System.String bloodGroup, global::System.String nationality)
 {
     HR_Employee hR_Employee = new HR_Employee();
     hR_Employee.CompanyID = companyID;
     hR_Employee.EmployeeUID = employeeUID;
     hR_Employee.EmployeeNumber = employeeNumber;
     hR_Employee.CompanyEmployeeID = companyEmployeeID;
     hR_Employee.Lastname = lastname;
     hR_Employee.Firstname = firstname;
     hR_Employee.Middlename = middlename;
     hR_Employee.TitleCode = titleCode;
     hR_Employee.SalaryGradeCode = salaryGradeCode;
     hR_Employee.JoinedDate = joinedDate;
     hR_Employee.IsActive = isActive;
     hR_Employee.BloodGroup = bloodGroup;
     hR_Employee.Nationality = nationality;
     return hR_Employee;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_Employee EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_Employee(HR_Employee hR_Employee)
 {
     base.AddObject("HR_Employee", hR_Employee);
 }