Пример #1
0
        public IEnumerable <Customer> GetCustomersWithAddressExemplifyingOneToOneRelationship()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersWithAddressExemplifyingOneToOneRelationship();

            return(customers);
        }
Пример #2
0
        public IEnumerable <string> GetCustomersNamesWithDistinct()
        {
            var customersNames = new LinqQueryExampleMapper().GetCustomersNamesWithDistinct();

            return(customersNames);
        }
Пример #3
0
        public IEnumerable <Customer> GetCustomersWithAddressAndCartsBasedInWhereWithOperatorNOTIN()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersWithAddressAndCartsBasedInWhereWithOperatorNOTIN();

            return(customers);
        }
Пример #4
0
        public IEnumerable <Customer> GetCustomersWithAddressAndCartsBasedInUnion()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersWithAddressAndCartsBasedInUnion();

            return(customers);
        }
Пример #5
0
        public int GetCartsQuantityWithCOUNT()
        {
            var quantity = new LinqQueryExampleMapper().GetCartsQuantityWithCOUNT();

            return(quantity);
        }
Пример #6
0
        public IEnumerable <ProductShippingRate> GetProductsWithShippingRatesExemplifyingManyToManyRelationship()
        {
            var productShippingRates = new LinqQueryExampleMapper().GetProductsWithShippingRatesExemplifyingManyToManyRelationship();

            return(productShippingRates);
        }
Пример #7
0
        public IEnumerable <KeyValuePair <int, int> > GetCartIdsAndQuantityItemsWithGROUPBYSUM()
        {
            var carts = new LinqQueryExampleMapper().GetCartIdsAndQuantityItemsWithGROUPBYSUM();

            return(carts);
        }
Пример #8
0
        public int GetQuantityItemsWithSUM()
        {
            var quantity = new LinqQueryExampleMapper().GetQuantityItemsWithSUM();

            return(quantity);
        }
Пример #9
0
        public decimal GetQuantityItemsWithAVG()
        {
            var quantity = new LinqQueryExampleMapper().GetQuantityItemsWithAVG();

            return(quantity);
        }
Пример #10
0
        public IEnumerable <Cart> GetCartsWithProductsExemplifyingOneToManyRelationship()
        {
            var carts = new LinqQueryExampleMapper().GetCartsWithProductsExemplifyingOneToManyRelationship();

            return(carts);
        }
Пример #11
0
        public int GetCustomerIdWithMIN()
        {
            var customerId = new LinqQueryExampleMapper().GetCustomerIdWithMIN();

            return(customerId);
        }
Пример #12
0
        public IEnumerable <KeyValuePair <int, DateTime> > GetCustomersIdsAndCartPurchaseDateWithGROUPBYMIN()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersIdsAndCartPurchaseDateWithGROUPBYMIN();

            return(customers);
        }
Пример #13
0
        public IEnumerable <KeyValuePair <int, int> > GetCustomersIdsAndCartsQuantityWithHAVING()
        {
            var customers = new LinqQueryExampleMapper().GetCustomersIdsAndCartsQuantityWithHAVING();

            return(customers);
        }