Professional ASP.NET 1.1 [Electronic resources]

Alex Homeret

نسخه متنی -صفحه : 244/ 209
نمايش فراداده

Changes in the System.Data Namespaces

The

DataReader classes expose a new property named

HasRows that returns a

Boolean value indicating if the result set contains any rows.

The

Connection class exposes a new method named

EnlistDistributedTransaction . If a component is pooled with an open connection, it will not automatically enlist in any new transactions that are started while the component is active. The

EnlistDistributedTransaction method can be used to enlist it into a transaction.