Have a database table with more than 1000 records (eg city). Is there any method or Exporter, what would translate it in code-first.
PS To create through code- first small plate is still possible, but large (100,500) for a long time ....
Have a database table with more than 1000 records (eg city). Is there any method or Exporter, what would translate it in code-first.
PS To create through code- first small plate is still possible, but large (100,500) for a long time ....
You can easily reverse engineer the whole model into pure POCO model, aka Code-Firs model, with a few clicks. You need to install MySQL connector .NET from here. Be sure to read this first in order not to get into pesky exceptions. There are some mishaps with different versions of MySQL server password store model and mysql connector but they are resolvable.
When you are finished installing :
When you are done a pure code entity model class which derives from DbContext will be created.