Hello,
I have a Person class and an Address Class
Ex.
public class Pessoa
{
public int Id { get; set; }
public string Nome { get; set; }
...
public Endereco Endereco { get; set; }
}
public class Endereco
{
public string Logradouro { get; set; }
public string Numero { get; set; }
...
}
When I run the EntityFramework Update-Database, an Address table with a one-to-one relationship is generated, but the idea was that the address fields were part of the Non-relationship table, is it possible?
Ex. I would like the person table to have the fields Id, Name, Backyard, Number .
Is it possible to do this?