문제

Can you please let me know how I can figure it out which Model format of Entity Frame Work you are working on? I have received an ASP.NET application which is running Entity Framework to connect to Database. Now I need to know what model format as:

  • Database First
  • Code Fist
  • Model First

is used to generate the Entity Framework. is there any xml or metadata presenting this kind of information?

Thanks

도움이 되었습니까?

해결책

With Code first, you just have the classes.

Database first or Model first will have an EDMX that uses T4 to generate the classes from the model. Whether it was created from the model or by the user manually is irrelevant. You can update the model manually or from the database at any point going forward.

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