コード例 #1
0
 /// <summary>
 /// Create a new Cliente object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="nome">Initial value of the Nome property.</param>
 /// <param name="endereco">Initial value of the Endereco property.</param>
 public static Cliente CreateCliente(global::System.Int64 id, global::System.String nome, global::System.String endereco)
 {
     Cliente cliente = new Cliente();
     cliente.Id = id;
     cliente.Nome = nome;
     cliente.Endereco = endereco;
     return cliente;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Clientes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClientes(Cliente cliente)
 {
     base.AddObject("Clientes", cliente);
 }