Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello
   i am getting an below error when i am created the readymade create, edit etc views in mvc 
    The name 'EntityState' does not exist in the current context
     Due to this my mapping is not working in mvc. Please give me the solution.
 
This is working when i used System.Data.Entity namespace but my  mapping is not working in mvc


What I have tried:

Hello
   i am getting an below error when i am created the readymade create, edit etc views in mvc 
    The name 'EntityState' does not exist in the current context
     Due to this my mapping is not working in mvc. Please give me the solution.
 
This is working when i used System.Data.Entity namespace but my  mapping is not working in mvc
Posted
Comments
F-ES Sitecore 15-Nov-18 9:11am    
Either add the appropriate "using" or fully-qualify the class name by adding the namespace in front.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900