Ejemplo n.º 1
0
        public IEnumerable <Customer> GetCustomersWithAddressExemplifyingOneToOneRelationship()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersWithAddressExemplifyingOneToOneRelationship();

            return(customers);
        }
Ejemplo n.º 2
0
        public IEnumerable <string> GetCustomersNamesWithDistinct()
        {
            var customersNames = new LinqQueryExampleMapper().GetCustomersNamesWithDistinct();

            return(customersNames);
        }
Ejemplo n.º 3
0
        public IEnumerable <Customer> GetCustomersWithAddressAndCartsBasedInWhereWithOperatorNOTIN()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersWithAddressAndCartsBasedInWhereWithOperatorNOTIN();

            return(customers);
        }
Ejemplo n.º 4
0
        public IEnumerable <Customer> GetCustomersWithAddressAndCartsBasedInUnion()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersWithAddressAndCartsBasedInUnion();

            return(customers);
        }
Ejemplo n.º 5
0
        public int GetCartsQuantityWithCOUNT()
        {
            var quantity = new LinqQueryExampleMapper().GetCartsQuantityWithCOUNT();

            return(quantity);
        }
Ejemplo n.º 6
0
        public IEnumerable <ProductShippingRate> GetProductsWithShippingRatesExemplifyingManyToManyRelationship()
        {
            var productShippingRates = new LinqQueryExampleMapper().GetProductsWithShippingRatesExemplifyingManyToManyRelationship();

            return(productShippingRates);
        }
Ejemplo n.º 7
0
        public IEnumerable <KeyValuePair <int, int> > GetCartIdsAndQuantityItemsWithGROUPBYSUM()
        {
            var carts = new LinqQueryExampleMapper().GetCartIdsAndQuantityItemsWithGROUPBYSUM();

            return(carts);
        }
Ejemplo n.º 8
0
        public int GetQuantityItemsWithSUM()
        {
            var quantity = new LinqQueryExampleMapper().GetQuantityItemsWithSUM();

            return(quantity);
        }
Ejemplo n.º 9
0
        public decimal GetQuantityItemsWithAVG()
        {
            var quantity = new LinqQueryExampleMapper().GetQuantityItemsWithAVG();

            return(quantity);
        }
Ejemplo n.º 10
0
        public IEnumerable <Cart> GetCartsWithProductsExemplifyingOneToManyRelationship()
        {
            var carts = new LinqQueryExampleMapper().GetCartsWithProductsExemplifyingOneToManyRelationship();

            return(carts);
        }
Ejemplo n.º 11
0
        public int GetCustomerIdWithMIN()
        {
            var customerId = new LinqQueryExampleMapper().GetCustomerIdWithMIN();

            return(customerId);
        }
Ejemplo n.º 12
0
        public IEnumerable <KeyValuePair <int, DateTime> > GetCustomersIdsAndCartPurchaseDateWithGROUPBYMIN()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersIdsAndCartPurchaseDateWithGROUPBYMIN();

            return(customers);
        }
Ejemplo n.º 13
0
        public IEnumerable <KeyValuePair <int, int> > GetCustomersIdsAndCartsQuantityWithHAVING()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersIdsAndCartsQuantityWithHAVING();

            return(customers);
        }