Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PuestoSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPuestoSet(Puesto puesto)
 {
     base.AddObject("PuestoSet", puesto);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Puesto object.
 /// </summary>
 /// <param name="idPuesto">Initial value of the IdPuesto property.</param>
 /// <param name="descripcionPuesto">Initial value of the DescripcionPuesto property.</param>
 public static Puesto CreatePuesto(global::System.Int32 idPuesto, global::System.String descripcionPuesto)
 {
     Puesto puesto = new Puesto();
     puesto.IdPuesto = idPuesto;
     puesto.DescripcionPuesto = descripcionPuesto;
     return puesto;
 }