Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top