예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the enderecos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToenderecos(enderecos enderecos)
 {
     base.AddObject("enderecos", enderecos);
 }
예제 #2
0
 /// <summary>
 /// Create a new enderecos object.
 /// </summary>
 /// <param name="enderecoId">Initial value of the EnderecoId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="cep">Initial value of the Cep property.</param>
 /// <param name="cidade">Initial value of the Cidade property.</param>
 /// <param name="endereco1">Initial value of the Endereco1 property.</param>
 /// <param name="estadoId">Initial value of the EstadoId property.</param>
 /// <param name="paisId">Initial value of the PaisId property.</param>
 /// <param name="destinatario">Initial value of the Destinatario property.</param>
 public static enderecos Createenderecos(global::System.Int32 enderecoId, global::System.Int32 userId, global::System.String cep, global::System.String cidade, global::System.String endereco1, global::System.Int32 estadoId, global::System.Int32 paisId, global::System.String destinatario)
 {
     enderecos enderecos = new enderecos();
     enderecos.EnderecoId = enderecoId;
     enderecos.UserId = userId;
     enderecos.Cep = cep;
     enderecos.Cidade = cidade;
     enderecos.Endereco1 = endereco1;
     enderecos.EstadoId = estadoId;
     enderecos.PaisId = paisId;
     enderecos.Destinatario = destinatario;
     return enderecos;
 }