示例#1
0
 /// <summary>
 /// Create a new Pais object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="nombre">Initial value of the Nombre property.</param>
 public static Pais CreatePais(global::System.Int32 id, global::System.String nombre)
 {
     Pais pais = new Pais();
     pais.Id = id;
     pais.Nombre = nombre;
     return pais;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Pais EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPais(Pais pais)
 {
     base.AddObject("Pais", pais);
 }