public void Drop <T>() where T : class, new() { using (var con = new MockRepositoryConnection(ref db)) con.Drop <T>(); }