[InvalidOperationException: Mapping and metadata information could not be found for EntityType 'JcqSolutions.JcqCommerce.BusinessLogic.Content.AdvertismentsManagement.Advertisment'.] System.Data.Objects.ObjectContext.GetTypeUsage(Type entityCLRType) +8550105 System.Data.Objects.ObjectContext.GetEntitySetFromContainer(EntityContainer container, Type entityCLRType, String exceptionParameterName) +39 System.Data.Objects.ObjectContext.GetEntitySetForType(Type entityCLRType, String exceptionParameterName) +323 System.Data.Objects.ObjectContext.CreateObjectSet() +57 JcqSolutions.JcqCommerce.BusinessLogic.Data.JcqObjectContext.get_Advertisments() in E:\Downloads\jcqCommerce_1.10_Source\Libraries\Jcq.BusinessLogic\Data\JcqObjectContext.cs:968 JcqSolutions.JcqCommerce.BusinessLogic.Content.AdvertismentsManagement.AdvertismentManager.GetAdvertismentsLoadByParentCategoryID(Int32 parentCategoryId, Boolean isRightAD) in E:\Downloads\jcqCommerce_1.10_Source\Libraries\Jcq.BusinessLogic\Content\Advertisments\AdvertismentManager.cs:72 JcqSolutions.JcqCommerce.Web.Modules.ADShow.GetAdvertisments() in E:\Downloads\jcqCommerce_1.10_Source\JcqCommerceStore\Modules\ADShow.ascx.cs:49 JcqSolutions.JcqCommerce.Web.Modules.ADShow.Page_Load(Object sender, EventArgs e) in E:\Downloads\jcqCommerce_1.10_Source\JcqCommerceStore\Modules\ADShow.ascx.cs:29 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
这是什么引起的问题,我的类和.edmx文件都对了n遍了,没有不匹配的地方啊