Example #1
0
        public List <Relacao> GetAllRelacao(Guid idOrg)
        {
            List <Pedido> retorno = new List <Pedido>();

            retorno = (from A in db.Pedidos where A.idOrganizacao.Equals(idOrg) select A).ToList();
            return(Relacao.ConvertToRelacao(retorno));
        }
Example #2
0
        public List <Relacao> GetAllRelacao(Guid idOrg)
        {
            List <ItemListaPreco> retorno = new List <ItemListaPreco>();

            retorno = (from bl in db.ItemListaPrecos where bl.idOrganizacao.Equals(idOrg) select bl).ToList();

            return(Relacao.ConvertToRelacao(retorno));
        }
Example #3
0
        public List <Relacao> GetAllRelacao(Guid idOrg)
        {
            List <ProdutoFornecedor> retorno = new List <ProdutoFornecedor>();

            retorno = (from A in db.ProdutosFornecedor where A.idOrganizacao.Equals(idOrg) select A).ToList();

            return(Relacao.ConvertToRelacao(retorno));
        }
Example #4
0
        public List <Relacao> GetAllRelacao(Guid idOrg)
        {
            List <BalcaoVendas> retorno = new List <BalcaoVendas>();

            retorno = (from bl in db.BalcaoVendas where bl.idOrganizacao.Equals(idOrg) select bl).ToList();

            return(Relacao.ConvertToRelacao(retorno));
        }
Example #5
0
        public List <Relacao> GetAllRelacao(Guid idOrg)
        {
            List <ServicoOrdem> retorno = new List <ServicoOrdem>();
            List <Relacao>      lista   = new List <Relacao>();

            retorno = (from A in db.ServicosOrdem where A.idOrganizacao.Equals(idOrg) select A).ToList();

            return(Relacao.ConvertToRelacao(retorno));
        }
Example #6
0
        public List <Relacao> GetAllRelacao(Guid idOrg)
        {
            List <ListaPreco> retorno = new List <ListaPreco>();

            retorno = (from A in db.ListaPrecos where A.idOrganizacao.Equals(idOrg) select A).ToList();
            retorno = retorno.OrderByDescending(A => A.padrao).ToList();

            return(Relacao.ConvertToRelacao(retorno));
        }