Hello,
I am trying to get the generated SQL statement in order to see the execution plan in SQL Server. Is there a way to get the SQL statement?
I am trying to get the generated SQL statement in order to see the execution plan in SQL Server. Is there a way to get the SQL statement?
C#:
//Query GameBank database
var gameBankResult = await _unitOfWork.GameBankRepository.GetGamesAsync(g =>
g.productCode == requestDto.productCode && g.referenceId == Guid.Empty);