I have a question about partial classes in c#
In This picture, I have a domain model. I am have added reference this(DomainModelLib) to Client application and repoistory application.
Repository application is using this domain model classes as "DbSet" and getting data from database. Realtions are created in model partial classes as you can see.
I referenced Model to Client application. I wanna first partial(first red frame) of Product class can access in Client application but second part(bottom red frame) of class can not access.
But two parts should be accesible in repository. Is this possible?
(NHibernate XML mapping is keeping relations from users, I wana keep somethings from users this way in Entity Framework)