Vivek Joy

Vivek Joy

  • NA
  • 137
  • 27.1k

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)