2022-01-30

How does Entity Framework map to tables in SQL?

How does EF handle the mapping to the SQL tables? I understand the general idea, but I changed the name of my model in C#, but it's still pointing to the table when using the context object. I expected it to break, but I am guessing it is cached somewhere? Is that how it is handled deep inside EF somewhere?

More detail: This is persistent when the console app stops, and then restarts. The model has a different name, but EF still somehow goes to the table.



from Recent Questions - Stack Overflow https://ift.tt/kgQU4Ex9h
https://bit.ly/3GblJNq

No comments:

Post a Comment