using( var enjoy=new hx_oilEntities())hx_oilEntities()显示不存在
hx_oilEntities() 自定义对象没问题的话,改成:var enjoy=new hx_oilEntities();using(enjoy);