/// <summary> /// Create a new Emp object. /// </summary> /// <param name="employeeId">Initial value of EmployeeId.</param> /// <param name="departmentId">Initial value of DepartmentId.</param> public static Emp CreateEmp(string employeeId, long departmentId) { Emp emp = new Emp(); emp.EmployeeId = employeeId; emp.DepartmentId = departmentId; return emp; }
/// <summary> /// Deprecated Method for adding a new object to the Emps EntitySet. /// </summary> public void AddToEmps(Emp emp) { base.AddObject("Emps", emp); }