public IActionResult Get()
        {
            IEdmEntityObject[] typelessCustomers = new EdmEntityObject[20];
            for (int i = 0; i < 20; i++)
            {
                dynamic typelessCustomer = new EdmEntityObject(CustomerType);
                typelessCustomer.Id              = i;
                typelessCustomer.Name            = string.Format("Name {0}", i);
                typelessCustomer.Orders          = CreateOrders(i);
                typelessCustomer.Addresses       = CreateAddresses(i);
                typelessCustomer.FavoriteNumbers = Enumerable.Range(0, i).ToArray();
                typelessCustomers[i]             = typelessCustomer;
            }

            IEdmCollectionTypeReference entityCollectionType =
                new EdmCollectionTypeReference(
                    new EdmCollectionType(
                        new EdmEntityTypeReference(CustomerType, isNullable: false)));

            return(Ok(new EdmEntityObjectCollection(entityCollectionType, typelessCustomers.ToList())));
        }