Пример #1
0
 /// <summary>
 /// Create a new Cliente object.
 /// </summary>
 /// <param name="idCliente">Initial value of the IdCliente property.</param>
 /// <param name="nombre">Initial value of the Nombre property.</param>
 /// <param name="tratamiento">Initial value of the Tratamiento property.</param>
 /// <param name="esIngles">Initial value of the EsIngles property.</param>
 /// <param name="esCarta">Initial value of the EsCarta property.</param>
 /// <param name="esEmail">Initial value of the EsEmail property.</param>
 /// <param name="esFaxi">Initial value of the EsFaxi property.</param>
 /// <param name="activo">Initial value of the Activo property.</param>
 /// <param name="esAgente">Initial value of the EsAgente property.</param>
 public static Cliente CreateCliente(global::System.Int32 idCliente, global::System.String nombre, global::System.String tratamiento, global::System.Boolean esIngles, global::System.Boolean esCarta, global::System.Boolean esEmail, global::System.Boolean esFaxi, global::System.Int32 activo, global::System.Boolean esAgente)
 {
     Cliente cliente = new Cliente();
     cliente.IdCliente = idCliente;
     cliente.Nombre = nombre;
     cliente.Tratamiento = tratamiento;
     cliente.EsIngles = esIngles;
     cliente.EsCarta = esCarta;
     cliente.EsEmail = esEmail;
     cliente.EsFaxi = esFaxi;
     cliente.Activo = activo;
     cliente.EsAgente = esAgente;
     return cliente;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TB_CLIENTES EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTB_CLIENTES(Cliente cliente)
 {
     base.AddObject("TB_CLIENTES", cliente);
 }