private void init(int PedidoId, Nullable <DateTime> fecha, string direccion, string localidad, string provincia, string cp, string tipoPago, P1GenNHibernate.Enumerated.Práctica1.EstadoPedidoEnum estado, P1GenNHibernate.EN.Práctica1.ClienteEN cliente, System.Collections.Generic.IList <P1GenNHibernate.EN.Práctica1.LineaPedidoEN> lineaPedido) { this.PedidoId = PedidoId; this.Fecha = fecha; this.Direccion = direccion; this.Localidad = localidad; this.Provincia = provincia; this.Cp = cp; this.TipoPago = tipoPago; this.Estado = estado; this.Cliente = cliente; this.LineaPedido = lineaPedido; }
public PedidoEN(int pedidoId, Nullable <DateTime> fecha, string direccion, string localidad, string provincia, string cp, string tipoPago, P1GenNHibernate.Enumerated.Práctica1.EstadoPedidoEnum estado, P1GenNHibernate.EN.Práctica1.ClienteEN cliente, System.Collections.Generic.IList <P1GenNHibernate.EN.Práctica1.LineaPedidoEN> lineaPedido ) { this.init(PedidoId, fecha, direccion, localidad, provincia, cp, tipoPago, estado, cliente, lineaPedido); }