Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What I want to do is create a conventor from efcore to sql.
for example.
I have entity:MyStudent
DbSet<MyStudent>MyStudents{get;set;};
and there is a textblock.
I enter a sentence of efcore.
var query=await _context.MyStudents.AsNoTracking().Where(x=>x.Id==10);
I can get the sql:
SELECT ID,NAME FROM MyStudent WHERE Id = 10;
help me please.
I think you are asking how to see the SQL generated by EF Core. Please see the official documentation.