-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Ignore() for non entity type candidates #3867
Comments
We need to decide on what properties we include in the model before deciding on this |
We decided not to change what we currently do for You can still use Moving to backlog to track this as a possible post-RTM improvement. |
Currently
Ignore<T>()
withT
being a candidate entity type will cause Code First to:T
in the model as an entity type.T
declared on valid entity types.Ignore currently doesn't work for
T
unless it is a candidate entity type. However it would be possibly more consistent and useful to extend it to ignore properties of other types, e.g.:The text was updated successfully, but these errors were encountered: