在Linq to Sql之上的存储库模式实现 [英] Repository pattern implementation on top of Linq to Sql
本文介绍了在Linq to Sql之上的存储库模式实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Linq to Sql之上创建存储库模式实现对于中型面向公众的Web应用程序来说是一个很好的设计吗?
该应用程序仅处理Sql sever后端,并且需要快速开发
我真的很喜欢LINQ2SQL,因为它是一个整洁的DAL.我想到了EF,但这对这个项目来说太过分了.
预先非常感谢您的建议.
Is creating a Repository pattern implementation on top of Linq to Sql a good design for a medium size public faced web application?
The app only deals with Sql sever backend and it requires rapid development
I really like LINQ2SQL since it''s a neat DAL. I thought of EF but it''s too much for this project.
Many thanks in advance for the suggestions.
推荐答案
您可能会发现 ^ ]有用.
在不知道确切要求的情况下很难说出您是否正确,但我看不出为什么不应该这么做.
You might find this[^] useful.
Hard to say if you are correct or not without knowing what the exact requirement is but I can''t see why you shouldn''t.
这篇关于在Linq to Sql之上的存储库模式实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文