Entities connection

Entities connection



I have 3 entites, the seller the buyer and the contract. When i create a sellerID and buyerID in the contract entity and try to see them in the contract table in the database they are both 0 no matter how many i create. What can i be doing wrong? 

Thank you for all the help you can provide.



The problem is your join type. You are using a FULL OUTER JOIN which means that all records from all tables will be included even if they don't match up.


As Justin James mentioned, you should correct your joins. However i think you also should review the entities definition and the insert statement, it seams that you aren't getting the ids for the insert.