public void Clear() { MongoEntity.RemoveAll <Student>(); MongoEntity.RemoveAll <Teacher>(); MongoEntity.RemoveAll <Grade>(); MongoEntity.RemoveAll <School>(); MongoEntity.RemoveAllFiles <MyFile>(); MongoDBRepository.UnregisterDBContext <TestDBContext>(); }