Esempio n. 1
0
        private void init(int ProductioId, string nombre, string descripcion, string urlFoto, float precio, int stock, System.Collections.Generic.IList <P1GenNHibernate.EN.Práctica1.LineaPedidoEN> lineaPedido, P1GenNHibernate.EN.Práctica1.CategoriaEN categoria)
        {
            this.ProductioId = ProductioId;


            this.Nombre = nombre;

            this.Descripcion = descripcion;

            this.UrlFoto = urlFoto;

            this.Precio = precio;

            this.Stock = stock;

            this.LineaPedido = lineaPedido;

            this.Categoria = categoria;
        }
Esempio n. 2
0
 public CategoriaEN(int categoriaId, string nombre, string descripcion, System.Collections.Generic.IList <P1GenNHibernate.EN.Práctica1.CategoriaEN> subcategoria, P1GenNHibernate.EN.Práctica1.CategoriaEN supercategoria, System.Collections.Generic.IList <P1GenNHibernate.EN.Práctica1.ProductoEN> producto
                    )
 {
     this.init(CategoriaId, nombre, descripcion, subcategoria, supercategoria, producto);
 }
Esempio n. 3
0
 public ProductoEN(int productioId, string nombre, string descripcion, string urlFoto, float precio, int stock, System.Collections.Generic.IList <P1GenNHibernate.EN.Práctica1.LineaPedidoEN> lineaPedido, P1GenNHibernate.EN.Práctica1.CategoriaEN categoria
                   )
 {
     this.init(ProductioId, nombre, descripcion, urlFoto, precio, stock, lineaPedido, categoria);
 }
Esempio n. 4
0
        private void init(int categoriaId, string nombre, string descripcion, System.Collections.Generic.IList <P1GenNHibernate.EN.Práctica1.CategoriaEN> subcategoria, P1GenNHibernate.EN.Práctica1.CategoriaEN supercategoria, System.Collections.Generic.IList <P1GenNHibernate.EN.Práctica1.ProductoEN> producto)
        {
            this.CategoriaId = categoriaId;


            this.Nombre = nombre;

            this.Descripcion = descripcion;

            this.Subcategoria = subcategoria;

            this.Supercategoria = supercategoria;

            this.Producto = producto;
        }