示例#1
0
 /// <summary>
 /// Create a new Employee object.
 /// </summary>
 /// <param name="employee_id">Initial value of the employee_id property.</param>
 /// <param name="person_id">Initial value of the person_id property.</param>
 /// <param name="department_id">Initial value of the department_id property.</param>
 public static Employee CreateEmployee(global::System.Guid employee_id, global::System.Guid person_id, global::System.Guid department_id)
 {
     Employee employee = new Employee();
     employee.employee_id = employee_id;
     employee.person_id = person_id;
     employee.department_id = department_id;
     return employee;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Employees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmployees(Employee employee)
 {
     base.AddObject("Employees", employee);
 }