Are there any implemenations for DataBase Initializeers in EntityFramework, which adds at least new columns if missing ?
Sounds like a real common scenario to me so i don’t want to reinvent the wheel
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you mean the scenario where you already have the database and you want update it from your modified model definition (code-first with data annotations or fluent mapping) than the answer is no. There are no initializers which would be able to modify existing database and there will not most probably be any in the future.
ADO.NET decided to use another approach for database upgrade which is called migrations. First public CTP of Migrations is already available.