public InformationSchemaSpec()
        {
            using (var context = new TestContext("InfoSchema"))
            {
                if (context.Database.Exists())
                    context.Database.Delete();

                while (!context.Database.Exists())
                {
                    try
                    {
                        context.Database.Create();
                    }
                    catch
                    {
                        Thread.Sleep(50);
                    }
                }
                context.Database.ExecuteSqlCommand(File.ReadAllText("InfoSchema.sql"));
            }
        }
 public void when_retrieving_tables_then_succeeds()
 {
     using (var context = new TestContext("InfoSchema"))
     using (var schema = new InformationSchemaContext(context.Database.Connection))
     {
         var tables = schema.Tables.ToList();
         tables.Dump(Console.Out);
     }
 }