Esempio n. 1
0
 /// <summary>
 /// Create a new Pais object.
 /// </summary>
 /// <param name="codigoPais">Initial value of the CodigoPais property.</param>
 /// <param name="nombrePais">Initial value of the NombrePais property.</param>
 /// <param name="activo">Initial value of the Activo property.</param>
 public static Pais CreatePais(global::System.String codigoPais, global::System.String nombrePais, global::System.String activo)
 {
     Pais pais = new Pais();
     pais.CodigoPais = codigoPais;
     pais.NombrePais = nombrePais;
     pais.Activo = activo;
     return pais;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Paises EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaises(Pais pais)
 {
     base.AddObject("Paises", pais);
 }