Using SQL Server Synonyms and EF is telling me it can't find database objects when referenced by a synonym. Are synonyms supported in current versions of EF?
Sort of. None of the EF tooling understands about synonyms, so you won't be able to use migrations or reverse engineering in the normal way. But at runtime EF doesn't validate that the database has a physical table for each entity, and you are free to configure an EF entity to read/write to a view or a synonym.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With