linq 到 sql 或 LLBL
我正在启动大型 asp.net 项目,但我无法决定使用 LLbl 还是 linq to sql。你能帮助我吗? linq to sql 和 LLBL 的优点或缺点是什么?我应该使用哪一个?
谢谢您的解答。我想问一个问题。我将把它用于大项目。 linq to sql 和 LLBL 性能如何?哪一个更快?
I am starting big asp.net project but I could not decided LLbl or linq to sql. Can you help me? What is advantage or disadvantage of linq to sql and LLBL? Which one should I use?
Thank you for answers. I wanna ask one question. I will use it for big project. How is linq to sql and LLBL performance? Which one is faster?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果您的选择是 L2S 或 EF 和 LLBL - 每天选择 LLBL,全天,有时在晚上。不是开玩笑。
LLBL 拥有最具表现力的 Linq 提供程序之一和令人难以置信的可扩展性。代码坚如磐石,不像,咳……好吧,你可能知道我的意思。
但让我告诉你我的真实感受......哈哈......
If your choices are L2S or EF and LLBL - Go with LLBL every day, all day, and sometimes at night. No joke.
LLBL has one of the most expressive Linq providers and incredible extensibility. The code is rock solid, unlike, cough... well you might know what I mean.
but let me tell you how i really feel about it.... lol..
Linq2SQL 的问题在于 Microsoft 不再开发 Linq2SQL...
LINQ to SQL 真的死了吗?作者:InfoQ.com 的 Jonathan Allen
如果您正在考虑将 LLBL 作为替代方案...可能不是一个坏主意,但我个人更喜欢 Linq2SQL,因为它为您提供了更多自由来创建您需要的即席查询。但如果您需要更多的结构,那么 LLBL 可能是一个更好的选择...但是,您将面临 Microsoft 将来不再开发 Linq2SQL 的问题。
您是否考虑过 Linq2Entities 作为替代方案,甚至 NHibernate...如果您需要更多相关信息,请告诉我或查找 linq 2 sql 与 linq 2 实体...
希望有帮助。
安东尼
The problem with Linq2SQL is that Microsoft is no longer developing Linq2SQL...
Is LINQ to SQL Truly Dead? by Jonathan Allen for InfoQ.com
If you are thinking about LLBL as an alternative... might not be such a bad idea but I personally prefer Linq2SQL because it gives you a lot more freedom to create what ever adhoc queries you need. But if you need more structure then LLBL may be a better alternative... But then you have the Microsoft not developing Linq2SQL in the future to contend with.
Have you looked at Linq2Entities as an alternative or even NHibernate... If you need more on this, just let me know or look up linq 2 sql vs linq 2 entities...
Hope that helps.
Anthony
决定使用哪一种取决于情况。您没有向我们提供足够的信息来帮助您做出决定。这两种产品都有一些缺点,这些缺点可能会或可能不会影响您。还有其他 .NET ORM 可能更适合,但您还没有明确为什么拒绝这些。
您可以在此处阅读有关 .NET ORM 的更多信息:
NHibernate、实体框架、活动记录或 linq2sql
请提供有关您的问题的更多上下文。
Deciding which one to use depends. You have not provided nearly enough information for us to help you decide. Both products have drawbacks that may or may not affect you. There are other .NET ORMs that may be a better fit, but you haven't made it clear why you rejected those.
You can read a lot more about .NET ORMs here:
NHibernate, Entity Framework, active records or linq2sql
Please provide more context around your question.
LINQ to SQL 并没有消亡。
Microsoft 并未在 .NET 4.0 中弃用它。
我们正在致力于 LINQ to Oracle、MySQL、PostgreSQL、SQLite 和的我们的实现该实施正在积极开发中。
LINQ to SQL is not dead.
Microsoft does not deprecate it in .NET 4.0.
We are working on our implementation of LINQ to Oracle, MySQL, PostgreSQL, SQLite, and this implementation is actively developed.