亚音速和 CSLA.NET

发布于 2024-08-18 16:36:29 字数 146 浏览 3 评论 0原文

SubSonic 可以与 CSLA.NET 一起使用吗?有没有人尝试过这个。根据我的理解,

  • SubSonic 是一个 DAL
  • CSLA.NET 是一个 BAL (BLL)

我似乎找不到任何相关信息。

Can SubSonic be used with CSLA.NET? Has anyone tried this. From my understanding

  • SubSonic is a DAL
  • CSLA.NET is a BAL (BLL)

I can't seem to find any information on this.

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

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

发布评论

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

评论(3

紧拥背影 2024-08-25 16:36:29

SubSonic 可以用作 DAL。当我学习 CSLA 时,一开始实现 DAL 时遇到了一些麻烦,因为关于这个主题的文档很少。我建议您查看我们的模板。我们有一个完整的工作参数化 SQL 或存储过程驱动的 DAL。这都是子模板化的,因此您可以轻松实现或复制 8 个子模板并将其更改为使用 SubSonic,并且您的所有 BO 现在都将在很短的时间内由 SubSonic 驱动。

谢谢
-Blake Niemyjski(CodeSmith CSLA 模板 的作者)

SubSonic could be used as a DAL. I had a some trouble implementing a DAL at first when I was learning CSLA just because there is little documentation on this subject. I would recommend checking out our templates. We have a complete working Parameterized SQL or Stored Procedure driven DAL. This is all sub templated out so you could easily implement or copy 8 sub templates and change it to use SubSonic and all of your BO's would now be driven by SubSonic in a very small amount of time.

Thanks
-Blake Niemyjski (Author of the CodeSmith CSLA Templates)

孤者何惧 2024-08-25 16:36:29

看来您需要解决一些问题才能让 CSLA 通过您自己的 DAL 进行对话 - 请参阅 http://www.lhotka.net/Article.aspx?area=4&id=2e6468d6-9a02-4f0e-a31c-a7eecc268e1b

有还有关于该主题的更详细的论坛讨论 http://forums.lhotka.net/论坛/线程/3714.aspx

It looks as though you will need to kludge around some issues to get CSLA to talk via your own DAL - see http://www.lhotka.net/Article.aspx?area=4&id=2e6468d6-9a02-4f0e-a31c-a7eecc268e1b

There is also a more detailed forum discussion on the subject at http://forums.lhotka.net/forums/thread/3714.aspx

我乃一代侩神 2024-08-25 16:36:29

SubSonic 封装得非常好,因此您几乎可以将它与任何东西一起使用。您可以将 SubSonic 生成的 DAL 放在其自己单独的类库和/或命名空间中。

没有 CSLA.NET 方面的经验。

SubSonic is pretty well encapsulated so you can use it with just about anything. You can put the DAL that SubSonic generates in its own separate class library and/or namespace.

No experience with the CSLA.NET side of things.

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