cartomatic / MapHive.Server2

Other
0 stars 0 forks source link

automated CreateOrUpdate db - know when create and when update #13

Closed mika666 closed 5 years ago

mika666 commented 6 years ago

in ef core cannot distinguish between create or update. perhaps in some future ef versions it will become possible.

mika666 commented 6 years ago

https://stackoverflow.com/questions/33911316/ef7-how-to-check-if-database-exists https://stackoverflow.com/questions/50682148/ef-core-2-1-verify-if-database-exists-dont-work-after-update