Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PreviousEmployees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPreviousEmployees(PreviousEmployee previousEmployee)
 {
     base.AddObject("PreviousEmployees", previousEmployee);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new PreviousEmployee object.
 /// </summary>
 /// <param name="employeeID">Initial value of the EmployeeID property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static PreviousEmployee CreatePreviousEmployee(global::System.Int32 employeeID, global::System.String lastName, global::System.String firstName, global::System.Int32 rowVersion)
 {
     PreviousEmployee previousEmployee = new PreviousEmployee();
     previousEmployee.EmployeeID = employeeID;
     previousEmployee.LastName = lastName;
     previousEmployee.FirstName = firstName;
     previousEmployee.RowVersion = rowVersion;
     return previousEmployee;
 }