protected override void AddValue(string value) { EmployeeType et = new EmployeeType(); et.idEmployeeType = FreeIndex; et.nameEmployeeType = value; EntitiesHolder.Entities.EmployeeType.AddObject(et); }
/// <summary> /// Deprecated Method for adding a new object to the EmployeeType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeType(EmployeeType employeeType) { base.AddObject("EmployeeType", employeeType); }
/// <summary> /// Create a new EmployeeType object. /// </summary> /// <param name="idEmployeeType">Initial value of the idEmployeeType property.</param> /// <param name="nameEmployeeType">Initial value of the nameEmployeeType property.</param> public static EmployeeType CreateEmployeeType(global::System.Decimal idEmployeeType, global::System.String nameEmployeeType) { EmployeeType employeeType = new EmployeeType(); employeeType.idEmployeeType = idEmployeeType; employeeType.nameEmployeeType = nameEmployeeType; return employeeType; }