I am not able to change a foreingkey field in the database. In my case, the objects (TypeEndereco = 3 and Endereco = 2) already exist.
Follow the template (simple):
public class Endereco
{
public int Id { get; set; }
public string C...
asked by
17.05.2017 / 19:27