/// <summary> /// Create a new Cliente object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="nombre">Initial value of the Nombre property.</param> /// <param name="direccion">Initial value of the Direccion property.</param> /// <param name="telefono">Initial value of the Telefono property.</param> public static Cliente CreateCliente(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String nombre, global::System.String direccion, global::System.String telefono) { Cliente cliente = new Cliente(); cliente.Id = id; cliente.RowVersion = rowVersion; cliente.Nombre = nombre; cliente.Direccion = direccion; cliente.Telefono = telefono; return cliente; }
/// <summary> /// Deprecated Method for adding a new object to the Clientes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClientes(Cliente cliente) { base.AddObject("Clientes", cliente); }