示例#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>
 public static Cliente CreateCliente(global::System.Int32 id, global::System.String nome)
 {
     Cliente cliente = new Cliente();
     cliente.Id = id;
     cliente.Nome = nome;
     return cliente;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Cliente EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCliente(Cliente cliente)
 {
     base.AddObject("Cliente", cliente);
 }