private static void Clear(FireDataSource source, string key)
        {
            IEnumerable <Dictionary <string, object> > docs = source.GetAll();

            foreach (var pairs in docs)
            {
                source.Delete(pairs[key]);
            }
        }
Ejemplo n.º 2
0
 public FireDataSourceTest(ITestOutputHelper output, FireStoreFixture fix)
 {
     this.output     = output;
     this.fix        = fix;
     this.studentsDb = fix.studentsDb;
 }