-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否在ISelect插入执行前事件,可用于修改DbCommand内容 #229
Comments
换个解决办法,ISelect 有点重了 |
ISelect<T1>.IQueryable<T1> AsQueryable(); 将 ISelect 转换为 IQueryable,此方法主要用于扩展,比如:abp IRepository GetAll() 接口方法需要返回 IQueryable 对象。注意:IQueryable 方法污染较为严重,请尽量避免此转换 今天加的这个方法 |
AsQueryable()之后能否在 执行前修改DbCommand? |
这个问题的初衷是不是这个:#200 |
嗯 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
类似于
UseMonitorCommand
中的executing
参数,区别在于
UseMonitorCommand
对量产的所有ISelect
起效,现在需要的是只对单一的
ISelect
起效,如果可以实现的话,就可由用户自由修改生成的sql语句The text was updated successfully, but these errors were encountered: