Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmployeeTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmployeeTypes(EmployeeType employeeType)
 {
     base.AddObject("EmployeeTypes", employeeType);
 }
Пример #2
0
 /// <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;
 }