Vivek Joy

Vivek Joy

  • 1.9k
  • 137
  • 19k

How can i set foreign key in mvc?

Feb 10 2016 4:45 AM
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)