Пример #1
0
 /// <summary>
 /// Access method that will be executed by <c>ProgrammingExamples</c> and runs all the example method of the set.
 /// </summary>
 public static void RunExamples()
 {
     ExampleHelper.ExampleSetPrint("Repository Examples", typeof(RepositoryExamples));
     LoadRavenExample();
     StoreTrackInDb();
     LoadTrackFromDb();
     InsertCountLoadAllDeleteAndLoadAgain();
     _trackRep.Dispose();
 }
Пример #2
0
 /// <summary>
 /// Method used to dispose the repository
 /// </summary>
 public void Dispose()
 {
     _repository.Dispose();
 }