-
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
Shadow property is not created by .ForeignKey(Type, string) #3576
Comments
The above exception is thrown when you try to use a shadow property which is not defined in the model in one of the functions -
Therefore above methods require you to define the shadow properties in the model before using them. For the case of |
Cleared milestone to decide if we should create shadow properties or not. |
@smitpatel we should do this. |
That would be #1124 |
... and is not taken into account if defined late in the Model.
Repro: this code should not throw an exception, but actually complains that
DocumentId
is not found or defined as a shadow propertyThe text was updated successfully, but these errors were encountered: