Not mapping an EF Core DB-First enum property
I have scaffolded my Db Context. My entity has a
I am making a partial class which is:
Yet, when I do
I am making a partial class which is:
Yet, when I do
_context.Hosts.ToList(), it does attempt to select a column named "Status". How do I prevent this? The NotMapped attribute does not seem to be working.