Javier Alvarez

Javier Alvarez

  • NA
  • 3
  • 1.4k

Data Owner MVC4

Oct 24 2013 12:01 PM
Hello!!!!!, I try to do the next situation: First, connect to my personal account, (Username and password) next I need create my own notebook, for this I have a datamodel that has a relationship (with Foreign key) UserModel and NotebookModel, the NotebookModel has the foreign key of UserID. So I need that the UserID FK Column in Notebook Table automatically get the UserID when I start my session? how can I do this if I start my session with the name and password??? (Please help me, I'm a beginner)....

Answers (2)