Is there a performance difference between using a function inside a linq to sql select statement vs using an expression in EF core domain projection.
Ex.
context.Students.Select(x => StuddentDTOMapper(x)).ToList();
Vs.
context.Students.Select(StuddentDTOMapperExpression).ToList();