I am tying to convert my .net framework 4.6.1 project to .net core 2.2. I have got an error "The name Sql Functions does not exists in current context".I have been searching and haven't got any answer yet.
I have tried EF class functions but this didn't solve my problem
select new ReleaseBuildDashboardDto
{
// to fix
DateString = SqlFunctions.StringConvert((double)
SqlFunctions.DatePart("m", g.Key.Value)).Trim() +"/" +
SqlFunctions.DateName("dd", g.Key.Value) + "/" +
SqlFunctions.DateName("yyyy", g.Key.Value),
ScheduledCount = g.Count()
}).ToListAsync();