修改一版

This commit is contained in:
he
2022-04-11 14:01:08 +08:00
parent 1844a15879
commit 78c5af401a
10 changed files with 214 additions and 41 deletions
@@ -25,12 +25,17 @@ namespace IRaCIS.Core.Infra.EFCore
public Repository(IRaCISDBContext dbContext, IMapper mapper)
{
//if (typeof(TEntity) = typeof(DataInspection))
//{
//}
_dbContext = dbContext;
_mapper = mapper;
}
#region
public async Task<TEntity> InsertOrUpdateAsync<TFrom>(TFrom from, bool autoSave = false, params EntityVerifyExp<TEntity>[] verify)
{