Closed saigkill closed 2 years ago
I have a BaseEntity with ID, and a derived Entity class. Is there any way to set another property as Identity for that class?
No, but that's an Entity Framework limitation. It uses the identifiers as foreign keys to the tables of the derived classes.
I have a BaseEntity with ID, and a derived Entity class. Is there any way to set another property as Identity for that class?