The ObjectContext instance has been disposed and can no longer be used for operations that require a connection. How to solve the error The ObjectContext instance has been disposed and can no longer be used for operations that require a connection 1.…
The ObjectContext instance has been disposed and can no longer be used for operations that require a connection. public static List<Menu> Get(int appid) { List<Menu> menuList = null; using(wechatEntities ctx=new wechatEntities()) { //disable l…