private static void ListModifiedEntries()
        {
            var context = new Ef7Context();
            context.LogQuery();

            var modified = from s in context.Stores
                where Microsoft.Data.Entity.EF.Property<DateTime>(s, "LastUpdated") != null
                select s;

            foreach (var store in modified)
            {
                System.Console.WriteLine(store.Name);
            }
        }
        private static void CreateItems()
        {
            var context = new Ef7Context();
            context.LogQuery();
            System.Console.WriteLine("Creating {0} items started! ", Count);
            var timer = Stopwatch.StartNew();

            timer.Start();
            for (var i = 0; i < Count; i++)
            {
                context.Stores.Add(RandomDataGenerator.GenerateStore());
            }

            context.SaveChanges();

            timer.Stop();
            System.Console.WriteLine("Adding {0} took: {1}", Count, timer.Elapsed);
        }