生成任务修改
This commit is contained in:
@@ -102,10 +102,11 @@ namespace IRaCIS.Core.Infra.EFCore
|
||||
|
||||
foreach (PropertyInfo prop in list)
|
||||
{
|
||||
_dbContext.Entry(waitModifyEntity).Property(prop.Name).IsModified = true;
|
||||
|
||||
object value = prop.GetValue(applyObj);
|
||||
prop.SetValue(waitModifyEntity, value);
|
||||
|
||||
_dbContext.Entry(waitModifyEntity).Property(prop.Name).IsModified = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user