/// <summary> /// Deprecated Method for adding a new object to the EmployeeTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeTypes(EmployeeType employeeType) { base.AddObject("EmployeeTypes", employeeType); }
/// <summary> /// Create a new EmployeeType object. /// </summary> /// <param name="employeeTypeID">Initial value of the EmployeeTypeID property.</param> /// <param name="name">Initial value of the Name property.</param> public static EmployeeType CreateEmployeeType(global::System.Int32 employeeTypeID, global::System.String name) { EmployeeType employeeType = new EmployeeType(); employeeType.EmployeeTypeID = employeeTypeID; employeeType.Name = name; return employeeType; }