First I am newbie using EF - so sorry on this basic question
I have a Project Table that relate to Company Table
When I Map with EF I Do not have property of CompanyId in the Project Object
But I have related Company Object
Project p = new Project();
p.CompanyId ÃÂ¨ does not exist!
When I try addingit myself I get this error:
If I need just the Company id, and I don't want get it like
p.Company.CompanyId - because than the application try connect again to the DB and I don't want this, because I need just the CompanyId.
What the best regular way to get it?
View Complete Post