Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Empleado object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="nombre">Initial value of the Nombre property.</param>
 /// <param name="puestoId">Initial value of the PuestoId property.</param>
 public static Empleado CreateEmpleado(global::System.String id, global::System.String nombre, global::System.Int32 puestoId)
 {
     Empleado empleado = new Empleado();
     empleado.Id = id;
     empleado.Nombre = nombre;
     empleado.PuestoId = puestoId;
     return empleado;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Empleadoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmpleadoes(Empleado empleado)
 {
     base.AddObject("Empleadoes", empleado);
 }