문제

is it possible to change database tables (e.g adding a field in a particular table) in an application using Entity framework.??

My application used an existing database to generate a model nd entity classes out of that database, if now I want to change tables in my existing database , how can I do that using Entity framework, so that:

  1. Changes are saved in previously generated Entity classes
  2. Changes are saved in database also.
도움이 되었습니까?

해결책

Well you'll either have to change the database or the model classes.. If you don't want to update both manually, you could just update the database DDL and then generate the Entity model again.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top