摘要:
Microsoft.Practices.EnterpriseLibrary.Data.Database db = DatabaseFactory.CreateDatabase();//Microsoft.Practices.EnterpriseLibrary.Data.Database db = DatabaseFactory.CreateDatabase("con1"); var dbCtr = db.GetType().GetConstructor(new Type[] { typeof(string) }); db = (Database)dbCtr.Invoke(. 阅读全文