问题描述
publicstaticScanDALCollectionLoadCollection(stringspName,SqlCeParameter[]parms){Databasedb=DatabaseFactory.CreateDatabase();DbCommandSqlCommand=db.GetStoredProcCommand(spName);}db.GetStoredProcCommand(spName)这个报错。说无法将类型"System.Data.Common.DbCommand[]"隐式转换为"System.Data.Common.DbCommand"已经引用了usingMicrosoft.Practices.EnterpriseLibrary.Common;usingMicrosoft.Practices.EnterpriseLibrary.Data;
时间: 2024-11-01 21:55:02