using (SqlConnection cn = new SqlConnection(connectionString)) {
cn.Open();
//call the overload that takes a connection in place of the connection string
return ExecuteDataset(cn, commandType, commandText, commandParameters);
}
看到net 组dao层的一个闭包写法
最新推荐文章于 2023-08-29 15:21:45 发布