title: EntityCommandExecutionException with EF 6 in project net 4.0?
body: <p>I have using entity framework 6 in a project that is net 4.0, and when I instaled the nuget package, the project adds the reference to EntityFramework.dll and EntityFrameWork.SqlServer.dll.</p>
  
  <p>However, I want to capture the exception EntityCommandExecutionException, but there is not avaliable in neither of the both dlls.</p>
  
  <p>I know that I can add a reference to System.Data.Entity, but I don't konw if this a good solution, because when I try to use the enum EntityState there are a conflict because the are one in the System.Data.Entity and other in EntityFramework.dll.</p>
  
  <p>So the quiestion is if it is a good idea to use the System.Data.Entity library with EF 6. And if it is a bad idea, which is the equivalent exception of EntityCommandExecutionException in EF 6?</p>
  
  <p>Thanks.</p>