public LoteEntVM() { LotesActivos = new ObservableCollection <LoteEntrada>(InventoryQueries.GetLotesEntradaActivos()); LotesPaquetes = new ObservableCollection <LoteEntrada>(InventoryQueries.GetAllContainerLotes()); LotesInactivos = new ObservableCollection <LoteEntrada>(InventoryQueries.GetLotesEntradaInActivos()); LotesPaquetesInactivos = new ObservableCollection <LoteEntrada>(InventoryQueries.GetAllContainerLotesInactivos()); MateriaPrima = new ObservableCollection <formulaProduct>(ProductQueries.GetAllMpSimplifiedNoWater()); Proveedores = new ObservableCollection <DisplayProveedor>(PersonaQueries.GetDisplayProveedores()); PaquetesMP = new ObservableCollection <formulaProduct>(ProductQueries.GetAllContainersMP()); newLoteCommand = new NewLoteEntCommand(this); newLotePacakgeCommand = new NewLotePackageCommand(this); NewLote = new LoteEntrada(); SelectedLoteActivo = new LoteEntrada(); }