阅读背景:

在调用ExecuteReader时从基本DAL类处理SqlConnection

来源:互联网 

I've been assigned on a project where the DAL consists of a base class with functions to return IDataReader, an Object (int, string and the like), or a DataSet. An ExecuteNonQuery function also exists. This DAL only accesses USPs (SQL Server), and is using MS's SqlHelper to execute the queries. Here's two sample functions from the base:I've been assigned on a project where the DAL c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: