如果使用LINQ,可以使用Microsoft应用程序块吗? [英] If we use LINQ, can we go for Microsoft Application Blocks?

查看:60
本文介绍了如果使用LINQ,可以使用Microsoft应用程序块吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果使用LINQ,我们可以利用Microsoft应用程序块吗?

除了使用应用程序块之外,我们如何才能在Web应用程序中有效地进行异常处理?

If using LINQ, can we make use of Microsoft Application Blocks?

Other than using application blocks, how can we effectively do excepetion handling in web applications?

推荐答案

如果您使用的是.Net 3.0及更高版本,则可以使用LINQ. LINQ本身与Microsoft Application Blocks无关.
You can use LINQ if you are using .Net 3.0 and above. LINQ per se has nothing to do with Microsoft Application Blocks.


是的,LINQ是面向语言的功能,而Application Block是面向技术的. Linq随Framework一起提供,您只需添加System.Core.dll就可以轻松使用它.

致Abhinav,
提醒一下,LINQ是在.NET 3.5中引入的,而不是在3.0中引入的.

干杯.
:rose:
Yes, LINQ is a language oriented feature while Application Blocks are technology oriented. Linq comes with Framework, and you can easily use it just by adding System.Core.dll.

To Abhinav,
Just to remind, LINQ is introduced in .NET 3.5 not in 3.0.

Cheers.
:rose:


这篇关于如果使用LINQ,可以使用Microsoft应用程序块吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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