1
Reply

How can i set foreign key in mvc?

Vivek Joy

Vivek Joy

Feb 10 2016 4:45 AM
418
Hi....,
 
I need to create reg table and login table with regid as primary key of reg table and loginid as primary key of login table.
 
I also need to set logid as foreign key in reg table.
 
How can i do it in mvc5....Please anyone help me? 

Answers (1)