Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ClienteSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClienteSet(Cliente cliente)
 {
     base.AddObject("ClienteSet", cliente);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Cliente object.
 /// </summary>
 /// <param name="idCliente">Initial value of the IdCliente property.</param>
 /// <param name="razonSocial">Initial value of the RazonSocial property.</param>
 public static Cliente CreateCliente(global::System.Int32 idCliente, global::System.String razonSocial)
 {
     Cliente cliente = new Cliente();
     cliente.IdCliente = idCliente;
     cliente.RazonSocial = razonSocial;
     return cliente;
 }