i search but i dont find answer. i use ADO.NET Entity Framework,sql server. when i Update Wizard will not add table. tables are:
users{UserId:primaryKey,Name,StateID:ForeignKey to states Table}
states{stateId:primaryKey,Name}
user_state{UserId:primaryKey,ForeignKey to users table, stateId:primaryKey,ForeignKey to states table }
i add Users,sates Tables to model successfull. but when i update model and add user_state table to model,dont add and add a new relation between state and user tables.why?what is wrong?
thank you in advanced.