/// <summary> /// Deprecated Method for adding a new object to the Employes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployes(Employee employee) { base.AddObject("Employes", employee); }
/// <summary> /// Create a new Employee object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="contraent">Initial value of the Contraent property.</param> public static Employee CreateEmployee(global::System.Int32 id, global::System.Int32 contraent) { Employee employee = new Employee(); employee.Id = id; employee.Contraent = contraent; return employee; }