ibatis.net - 1.6.1 中缺少 isqlmapper.BeforeQuery

发布于 2024-07-09 08:46:49 字数 341 浏览 6 评论 0原文

我们正在尝试升级到iBatis.Net DataMapper 1.6.1(从1.5.1)。 我在这一行收到错误:

( ( SqlMapDaoSession ) daoManager.GetDaoSession() ).SqlMap.BeforeQuery += new BeforeQueryDelegate ( SqlMap_BeforeQuery );

我什至无法在任何地方找到对此 BeforeQuery 事件的引用。 Google 上有 0 条匹配结果!

有任何想法吗?

We are trying to upgrade to iBatis.Net DataMapper 1.6.1 (from 1.5.1). I am getting an error on this line:

( ( SqlMapDaoSession ) daoManager.GetDaoSession() ).SqlMap.BeforeQuery += new BeforeQueryDelegate ( SqlMap_BeforeQuery );

I cannot even find a reference to this BeforeQuery event anywhere. 0 matches on Google!

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心安伴我暖 2024-07-16 08:46:49

我查看了 iBatis 1.5.1 源代码,在 SqlMap 类上或项目中的任何位置都没有 BeforeQuery 事件。 您必须有修改后的版本。 您的代码在 SqlMap_BeforeQuery 委托中执行什么操作?

I looked in the iBatis 1.5.1 source and there is no BeforeQuery event on the SqlMap class, or anywhere in the project for that matter. You must have a modified version. What does your code do in the SqlMap_BeforeQuery delegate?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文