python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Get EF Core generated query including parameters
I need the SQL generated for a query.
Since EF Core 5, we have IQueryable.ToQueryString() which provides the query itself without parameters.
The best I could find is this, which extracts parameters f...
lonix
Votes: 0
Answers: 0
EF core grouping not working with related model
I'm newbie at entity framework. I can manage to create tables and working CRUD ops.
My models are below
public class Break
{
[JsonProperty("id")]
public int Id { get; set...
ZetaD
Votes: 0
Answers: 0
How do you do fulltext search add two field with Entity Framework Core?
If only one field is searched, it can be successful.
But not two.
var results = db.tables
.Where(x => EF.Functions.Match(x.Title, "search text",MySqlMatchSearchMode.Boolean));
I wan...
Jimmy
Votes: 0
Answers: 1
Ef core linq fails to translate to SQL while querying table per hierarchy base type
I have 3 classes like this (clearly this is a simplification)
public enum MyTypeEnum
{
A,
B
}
public abstract class Base
{
public int Id { get; set; }
public int Description { get; se...
Doc
Votes: 0
Answers: 0