哪种方法最适合 Silverlight 3 中的数据访问?
我们计划转向 Silverlight 3 进行应用程序开发,因为我们希望利用更灵活的 UI 和更轻松的部署。我们之前曾将 Winforms 与 ADO.Net 和 SQL Server 一起用于数据驱动的应用程序。
我简要地了解了一些使用 silverlight 进行数据访问的选项,例如 Entity Framework 和 Linq to SQL 等。但是由于 Microsoft Silverlight 开发的速度,我不知道哪种方法是“正确”的方法,并且感觉有点不知所措的选择。
您能否建议我应该进一步阅读的最佳数据访问方法?哪些方法应该避免或已经过时?
如果可能的话,请给我指出一个我似乎找不到的良好比较的方向。
We are planning to move to Silverlight 3 for application development because we want to take advantage of more flexible UIs and easier deployment. We have previously used Winforms with ADO.Net and SQL Server for data driven applications.
I've briefly looked at some of the options for data access with silverlight such as Entity Framework and Linq to SQL etc. But due to the pace of Silverlight development by Microsoft I do not know which method is the 'correct' method, and feel slightly overwhelmed by the options.
Can you suggest the best method for data access that I should pursue further reading on? Which methods should be avoided or are obselete?
If possible point me in the direction of a good comparison which I can't seem to find.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最适合您的技术是围绕实体框架的 WCF RIA 服务。
为什么选择 Silverlight 3? VS2010 + Silverlight 4 对于此类业务线应用程序来说是一个更加成熟的平台。
也就是说,您面临的最大飞跃是从 WinForms 转向基于 Xaml 的 Silverlight UI。
The technology that best suits you would be WCF RIA Services around Entity Framework.
Why Silverlight 3? VS2010 + Silverlight 4 is a much more mature platform for this type of Line-of-Business application.
That said, the biggest leap facing you is going from WinForms to Xaml based Silverlight UI.