Entity Framework - would this break?

I wonder if code would work if I do this:

1. I added a column to a database table in our Dev database

2. I updated the EDMX in the code

3. Production/another database enviroment doesn't have the new column.

4. Now, I move the code to Production. EDMX has the extra column. Database doesn't have it. I'm NOT using the extra column in the code yet.

Would the code break? I don't think so because I'm not using the extra column. It's just in the EDMX.
LVL 8
CamilliaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jose Gabriel Ortega CastroCEO Faru Bonon IT - EE Solution ExpertCommented:
1 -> 2 -> 3 (it won't be broken)

3 -> 4 it will break because the database schema is different from the one you have in production, so yeah it will break, even if you're not using the DB yet

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CamilliaAuthor Commented:
Good to know. Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.