Пример #1
0
 internal InMemoryDataContext(ObjectRepresentationRepository repo)
 {
     this.repo = repo;
     RegisterIIdentifiables();
 }
 public static void DropRepository()
 {
     Repo          = new ObjectRepresentationRepository();
     CommitCounter = 0;
 }
Пример #3
0
 public InMemoryDataContext()
 {
     repo = new ObjectRepresentationRepository();
     RegisterIIdentifiables();
 }
 public static void DropRepository()
 {
     InMemoryActiveDataContext.Repo          = new ObjectRepresentationRepository();
     InMemoryActiveDataContext.CommitCounter = 0;
 }