I just downloaded entity framework 6 and created a brand new project to test it. We currently use EF 5.
After adding all my tables and stored procedures, I tried to buil
You can overcome this scenario by replacing:
using System.Data.Objects;
With:
using System.Data.Entity.Core.Objects;
You may need to update the using statements in your T4 templates, like your Context.tt file, so that auto-generated files continue to work when re-generating.
using
Before
After