使用LINQ to SQL那么糟糕吗? [英] Is using LINQ to SQL that bad?

查看:90
本文介绍了使用LINQ to SQL那么糟糕吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天所有,我有一个小问题,我需要你的建议..我用LINQ to SQL编写了一个应用程序,而不是使用实体框架..在线阅读一些文章我注意到linq to sql并不那么酷。 ..我应该使用实体框架重新开发项目,或者我应该保留它,因为应用程序ia工作得非常好。我不熟悉实体框架及其逻辑......



我该怎么办! ..感谢您的精彩时间..

解决方案

请阅读您问题的所有评论。正如我所提到的:'如果它适合你,那就什么都不做',但是......谢尔盖亚历山德罗维奇Kryukov是对的:这取决于很多因素...



我建议你阅读: LINQ to SQL vs Entity framework [哪一个更好用.net 4.0] [ ^ ]找出它们之间的主要差异。



与上述文章相关的主题:

Linq to SQL [ ^ ]

Linq to Entities [< a href =http://msdn.microsoft.com/en-us/library/bb386964%28v=vs.110%29.aspxtarget =_ blanktitle =New Window> ^ ]

Good day all, I have a little problem that i need your advise.. i wrote an application using LINQ to SQL instead of using Entity Framework .. while reading some articles online i noticed that linq to sql is not that cool...please should I redevelop the project using entity framework or i should just leave it like that as the application ia working perfectly fine . i am not that conversant with entity framework and its logic..

please what should i do! .. thanks for your wonderfull time..

解决方案

Please, read all comments to your question. As i mentioned: 'if it works for you, then do nothing', but... Sergey Alexandrovich Kryukov is right: it depends on many factors...

I'd suggest to read this: LINQ to SQL vs Entity framework [ Which one is better with .net 4.0][^] to find out major differences between them.

Subjects related to above article:
Linq to SQL[^]
Linq to Entities[^]


这篇关于使用LINQ to SQL那么糟糕吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆