You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
I got into an "interlocking" situation. I have an entity, it need to pull the data from a database view. I added the entity and set the entity's "Database\Is Database View" setting to True. The designer warned me "[Entity] can't be mapped to a Sql query since it has identity attribute(s) Id. Set their 'Is Identity' property to false first.". After I set the Id field's "Is Identity" to false, I get a validation error saying "[Entity] Class has no identity property in inheritance chain".
Seems either I have or not have an identity field, there is validation error for it?
Jason
The text was updated successfully, but these errors were encountered:
msawczyn
added
released
Issue is resolved in a current release
and removed
pending release
Issue is resolved in the current codebase, will be published with the next release
labels
May 6, 2021
Hi,
I got into an "interlocking" situation. I have an entity, it need to pull the data from a database view. I added the entity and set the entity's "Database\Is Database View" setting to True. The designer warned me "[Entity] can't be mapped to a Sql query since it has identity attribute(s) Id. Set their 'Is Identity' property to false first.". After I set the Id field's "Is Identity" to false, I get a validation error saying "[Entity] Class has no identity property in inheritance chain".
Seems either I have or not have an identity field, there is validation error for it?
Jason
The text was updated successfully, but these errors were encountered: