last ...
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using xDataService.Db;
|
||||
@@ -15,6 +16,8 @@ namespace xDataService.Interfaces {
|
||||
TDbContext DbContext { get; }
|
||||
DbSet<T> GetDbSet<T, TKey> () where T : XBaseEntity<TKey>;
|
||||
int SaveChanges ();
|
||||
Task<int> SaveChangesAsync ();
|
||||
Task<int> SaveChangesAsync (
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user