Answer the question
In order to leave comments, you need to log in
How to hide the field of the parent class in the class heir?
Good afternoon!
I'm making a database of users / messages VK. To work with api I use VkNet. To work with the database - entityframework.
For simplicity, I don’t want to fence my set of entities, but I want to make database entities by inheriting from VkNet entities. But I ran into a problem that in some VkNet fields, for example, in the User entity, there are types without key fields. I want to hide fields with such types.
Can you tell me how this can be done or is there another way? The ways I found didn't help.
Answer the question
In order to leave comments, you need to log in
this article helped
quabr.com/16726950/ef5-code-first-you-cannot-use-i...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question