C
C#5h ago
hdmark

Ef core help

Hi! Working on my first blazor project for work and habr a few questions if anyone has any help with any of them . 1. Using ef core 9 (prob) and I used ef core power tools to reverse engineer the db I have (I need a few tables for this project of the 100 or so the other projects use ). It generated the classes in the models folder but I need to add some helper functions. I kinda just added another folder and dropped a file for each and made the same partial class. What's the right way to do that ? 2. The model I'm doing in ef core 9 currently exists in ef6 (non core) and is used by many other projects . Would a good way to migrate be to use ef core 3 on this and kinda add this to the old stuff ? Or would migrating the ef6 to ef core 3 be better ? The old code is all .net is .netframework 4.7
1 Reply
Angius
Angius2h ago
1. What helper functions? Database entities should generally be "dumb" and only describe the data

Did you find this page helpful?