Удален лишний файл
This commit is contained in:
parent
d9e0ff2736
commit
149647cef3
@ -1,14 +0,0 @@
|
|||||||
using Persistence.Database.Model;
|
|
||||||
|
|
||||||
namespace Persistence.IntegrationTests.Extensions;
|
|
||||||
|
|
||||||
public static class EFCoreExtensions
|
|
||||||
{
|
|
||||||
public static void CleanupDbSet<T>(this PersistenceDbContext dbContext)
|
|
||||||
where T : class
|
|
||||||
{
|
|
||||||
var dbSet = dbContext.Set<T>();
|
|
||||||
dbSet.RemoveRange(dbSet);
|
|
||||||
dbContext.SaveChanges();
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user