修改一版
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user