/// <summary> /// Deprecated Method for adding a new object to the Employees EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployees(Employees employees) { base.AddObject("Employees", employees); }
/// <summary> /// Create a new Employees object. /// </summary> /// <param name="employeeId">Initial value of the EmployeeId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="surname">Initial value of the Surname property.</param> public static Employees CreateEmployees(global::System.Int32 employeeId, global::System.String name, global::System.String surname) { Employees employees = new Employees(); employees.EmployeeId = employeeId; employees.Name = name; employees.Surname = surname; return employees; }