Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Estado EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEstado(Estado estado)
 {
     base.AddObject("Estado", estado);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Estado object.
 /// </summary>
 /// <param name="estadoId">Initial value of the EstadoId property.</param>
 /// <param name="paisId">Initial value of the PaisId property.</param>
 /// <param name="nome">Initial value of the Nome property.</param>
 /// <param name="uF">Initial value of the UF property.</param>
 /// <param name="dataCriacao">Initial value of the DataCriacao property.</param>
 public static Estado CreateEstado(global::System.Int32 estadoId, global::System.Int32 paisId, global::System.String nome, global::System.String uF, global::System.DateTime dataCriacao)
 {
     Estado estado = new Estado();
     estado.EstadoId = estadoId;
     estado.PaisId = paisId;
     estado.Nome = nome;
     estado.UF = uF;
     estado.DataCriacao = dataCriacao;
     return estado;
 }