aop里CurdBefore问题
#1444
-
CurdBefore里DbParms取到的字段名字都转义了,怎么能取到真实字段名 |
Beta Was this translation helpful? Give feedback.
Answered by
2881099
Mar 1, 2023
Replies: 1 comment 1 reply
-
DbParms 是参数化数据。 如果想拦截 SetDto 可以考虑以下办法: 1、在代理层处理(比如自己定义的仓储或者DAL .Update 方法) 2、定义 SetDto2 方法,使用该方法替代 SetDto,并在该方法上处理 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lsdlh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DbParms 是参数化数据。
如果想拦截 SetDto 可以考虑以下办法:
1、在代理层处理(比如自己定义的仓储或者DAL .Update 方法)
2、定义 SetDto2 方法,使用该方法替代 SetDto,并在该方法上处理