public async Task Setup()
        {
            db          = dbContextFactory.Create();
            dataManager = new DatabaseDataManager(dbContextFactory, new UserInfo(new User()
            {
                Identifier = "GUID1"
            }));

            db.PASSWORDDATA.AddRange(Data);

            await db.SaveChangesAsync();
        }
예제 #2
0
 public void Delete()
 {
     DatabaseDataManager.ClearAll();
 }
 public void ClearAll()
 {
     DatabaseDataManager.ClearAll();
 }