protected override void AddValue(string value)
 {
     EmployeeType et = new EmployeeType();
     et.idEmployeeType = FreeIndex;
     et.nameEmployeeType = value;
     EntitiesHolder.Entities.EmployeeType.AddObject(et);
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmployeeType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmployeeType(EmployeeType employeeType)
 {
     base.AddObject("EmployeeType", employeeType);
 }
Пример #3
0
 /// <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;
 }