Hello!
I have a question regarding the return of an object with an already-filled 'Value Object', for example:
I have the User.cs class
public class User
{
public Guid UserId { get; set; }
public string Name { get; set; }
public string Password { get; set; }
public Email Email { get; set; }
}
Email.cs class
public class Email
{
public string Address { get; set; }
}
In any search I do with Dapper the return of Email always comes null. Is there any way to map the Dapper return?
Obs. The data is persisted into a single table, there is no relationship.