Subsonic 3 与最新版本的 Mono 兼容吗?
目前 Mono 的最新稳定版本是 2.4.2.3。亚音速3可以用吗?我知道 Mono 尚不兼容所有 .net 3.5 功能,但我假设兼容性取决于 .net 3.5 Subsonic 使用的特定语言功能。有谁知道它是否兼容?
The latest stable release of Mono right now is 2.4.2.3. Does subsonic 3 work with it? I know Mono isn't compatible with all .net 3.5 features yet, but I'm presuming compatibility depends on which specific language features of .net 3.5 Subsonic uses. Does anyone know for a fact whether it's compatible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它兼容 - 如果计划使用 MySQL,请记住使用 MySQL 连接器的实际版本。
当前 SubSonic 中存在错误(请参阅问题 111)。将 SubSonic.Core/Linq/Structure/ExecutionBuilder.cs 中的 IsDbNull 更改为 IsDBNull 并重新编译。
这对我来说是用 Mono 2.6 和 MySQL-connector 6.2.2 完成的,
但除了简单的保存和读取查询之外,我没有测试任何东西。
Its compatible - just remember to use an actual version of MySQL connector, if planning to use MySQL.
And there is an Error in current SubSonic (see Issue 111). Change IsDbNull to IsDBNull in SubSonic.Core/Linq/Structure/ExecutionBuilder.cs and recompile.
That did it for me with Mono 2.6 and MySQL-connector 6.2.2
But I didnt't test anything but simple save and read queries.
从代码的外观来看,并不是所有的东西都是完整的 3.5,所以我认为它会很好,我一直在使用 3.0.0.3,并且 resharper 提出了关于如何更改和升级它的评论语气。
但测试时间不到 5 分钟左右,所以如果我是你,我会继续,除了 5-10 分钟之外,你真的没有太多可以浪费的时间。
希望这有帮助
from the looks of the code not everything seems to be full hilt 3.5 so i would cast an opinion that it will be just fine, i have been using 3.0.0.3 and resharper comes up with tones of comments about how it can be changed and upgraded.
but it takes less than 5 mins or so to test, so i would go ahead if i was you, you dont really have much to loose other than 5-10 mins.
hope this helps