Ejemplo n.º 1
0
 /// <summary>
 /// Create a new SalesEmployee object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="employeeNumber">Initial value of the EmployeeNumber property.</param>
 public static SalesEmployee CreateSalesEmployee(global::System.Guid id, global::System.String name, global::System.String employeeNumber)
 {
     SalesEmployee salesEmployee = new SalesEmployee();
     salesEmployee.ID = id;
     salesEmployee.Name = name;
     salesEmployee.EmployeeNumber = employeeNumber;
     return salesEmployee;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SalesEmployee EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalesEmployee(SalesEmployee salesEmployee)
 {
     base.AddObject("SalesEmployee", salesEmployee);
 }