Jorge Morales
ASP.NET MVC struggling with putting foreign keys into Db from Model
Hi, I would say it has something to do with how the other end of the foreign key relationship is implemented in Utilizador (or Utilizadores). If you want to implement a parent child relationship between the two, I think the child is SolicitacaoAdesao and Utilizador is the parent, right?
30 replies
Help with Multithreading
Hi, I think it's because i = 4 after the for loop is done. Besides, inside of each ThreadStart you have a reference to i, which the first thread is going to use and, because i is 4, then you get the exception you saw. You would have to rewrite your code inside of ThreadStart to not depend on i
38 replies