I have class Contact:
public class Contact
{
public string Function { get; set; };
public string Civility { get; set; }
public string FirstName { get; set; }
public List<Certification> Certifications { get; set; } = new List<Certification>();
}
My query logic is as follows:
List<Contact> contacts
= await Context.Database
.SqlQuery<Contact>("[dbo].[Contact] @codes,@Sprache",
parameters).ToListAsync();
How to use .selectMany fot have olny names of functions of this class?