Beispiel #1
0
 public void BuildFromDb(DatastoreForTest source)
 {
     CleanUp();
     DeleteDbFile();
     CreateCopyDb(source);
     InitDataStore();
 }
Beispiel #2
0
 private void CreateCopyDb(DatastoreForTest source)
 {
     source.ForceCommitPendingChangeOnDisk();
     File.Copy(source.DbPath, DbPath);
 }