コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_Emp_Passport EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_Emp_Passport(HR_Emp_Passport hR_Emp_Passport)
 {
     base.AddObject("HR_Emp_Passport", hR_Emp_Passport);
 }
コード例 #2
0
 /// <summary>
 /// Create a new HR_Emp_Passport object.
 /// </summary>
 /// <param name="employeeNumber">Initial value of the EmployeeNumber property.</param>
 /// <param name="passportNumber">Initial value of the PassportNumber property.</param>
 /// <param name="countryCode">Initial value of the CountryCode property.</param>
 public static HR_Emp_Passport CreateHR_Emp_Passport(global::System.Int64 employeeNumber, global::System.String passportNumber, global::System.String countryCode)
 {
     HR_Emp_Passport hR_Emp_Passport = new HR_Emp_Passport();
     hR_Emp_Passport.EmployeeNumber = employeeNumber;
     hR_Emp_Passport.PassportNumber = passportNumber;
     hR_Emp_Passport.CountryCode = countryCode;
     return hR_Emp_Passport;
 }