{"data":"System.InvalidOperationException: The context cannot be used while the model is being created. This exception may be thrown if the context is used inside the OnModelCreating method or if the same context instance is accessed by multiple threads concurrently. Note that instance members of DbContext and related classes are not guaranteed to be thread safe.\r\n 在 System.Data.Entity.Internal.LazyInternalContext.InitializeContext()\r\n 在 System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)\r\n 在 System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()\r\n 在 System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()\r\n 在 System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider()\r\n 在 System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)\r\n 在 YGALM.Web.Controllers.ArticlesController.GetListPage(Int32 page, Int32 limit, Int32 type, String lab)\r\n 在 ASP._Page_Views_Home_Index_cshtml.Execute() 位置 d:\\web_ygalm\\Views\\Home\\Index.cshtml:行号 164\r\n 在 System.Web.WebPages.WebPageBase.ExecutePageHierarchy()\r\n 在 System.Web.Mvc.WebViewPage.ExecutePageHierarchy()\r\n 在 System.Web.WebPages.StartPage.ExecutePageHierarchy()\r\n 在 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)\r\n 在 System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)\r\n 在 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)\r\n 在 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)\r\n 在 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)\r\n 在 System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.b__1e(IAsyncResult asyncResult)","result":{"State":500,"Message":"服务器错误"}}