修改仓储
parent
dee2ee388d
commit
f5a70d54d2
|
@ -291,6 +291,9 @@ namespace IRaCIS.Core.Infra.EFCore
|
||||||
|
|
||||||
TEntity applyObj = func(waitModifyEntity);
|
TEntity applyObj = func(waitModifyEntity);
|
||||||
|
|
||||||
|
//深拷贝更新之前实体信息
|
||||||
|
//var copyObj = waitModifyEntity.Clone();
|
||||||
|
|
||||||
foreach (PropertyInfo prop in list)
|
foreach (PropertyInfo prop in list)
|
||||||
{
|
{
|
||||||
object value = prop.GetValue(applyObj);
|
object value = prop.GetValue(applyObj);
|
||||||
|
|
Loading…
Reference in New Issue