摘要:
Method 1.According to the abstract class of ADO.NET,accomplish the core code of ADO.NET,named DBHelper.Then generate a concrete database ADO.NET object using factory,as the below showing.public class DBHelper { //获取数据库类型 private static string strDbType = CommonUtils.GetConfigValueByKey("dbType& 阅读全文