コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PuestoNivel EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPuestoNivel(PuestoNivel puestoNivel)
 {
     base.AddObject("PuestoNivel", puestoNivel);
 }
コード例 #2
0
 /// <summary>
 /// Create a new PuestoNivel object.
 /// </summary>
 /// <param name="idPuestoNivel">Initial value of the IdPuestoNivel property.</param>
 /// <param name="idPuesto">Initial value of the IdPuesto property.</param>
 /// <param name="orden">Initial value of the Orden property.</param>
 /// <param name="descripcionPuestoNivel">Initial value of the DescripcionPuestoNivel property.</param>
 public static PuestoNivel CreatePuestoNivel(global::System.Int32 idPuestoNivel, global::System.Int32 idPuesto, global::System.Int32 orden, global::System.String descripcionPuestoNivel)
 {
     PuestoNivel puestoNivel = new PuestoNivel();
     puestoNivel.IdPuestoNivel = idPuestoNivel;
     puestoNivel.IdPuesto = idPuesto;
     puestoNivel.Orden = orden;
     puestoNivel.DescripcionPuestoNivel = descripcionPuestoNivel;
     return puestoNivel;
 }