企业库数据访问应用程序块中的LINQ支持 [英] LINQ support in Enterprise Library Data Access Application Block
本文介绍了企业库数据访问应用程序块中的LINQ支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
数据访问应用程序块中是否有LINQ支持.
Is LINQ support available in the Data Access Application Block.
推荐答案
我想答案已经过时了,5.0版本支持linq. 支持以下方案:
I guess the answer is outdated, 5.0 version has support for linq. The following scenarios are supported:
- 使用DataReader检索多行数据
- 使用数据集检索多行数据
- 执行命令并获取输出参数
- 执行命令并检索单值项目
- 在交易中执行多项操作
- 使用DataSet对象中包含的数据更新数据库
- 从SQL Server数据库检索XML数据
- 使用客户端技术(例如LINQ)查询返回的数据
- 使用回调处理程序或Lambda表达式执行异步数据访问
- Using a DataReader to retrieve multiple rows of data
- Using a DataSet to retrieve multiple rows of data
- Executing a command and retrieving the output parameters
- Executing a command and retrieving a single-value item
- Performing multiple operations within a transaction
- Updating a database with data contained in a DataSet object
- Retrieving XML data from a SQL Server database
- Querying the data returned using client-side techniques such as LINQ
- Performing asynchronous data access with a callback handler or Lambda expression
查看此处: http://msdn .microsoft.com/en-us/library/ff664416%28v = pandp.50%29.aspx
这篇关于企业库数据访问应用程序块中的LINQ支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文