efcore icon indicating copy to clipboard operation
efcore copied to clipboard

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.

Results 1142 efcore issues
Sort by recently updated
recently updated
newest added

Today, the `GetFluentApiCalls` and `GetDataAnnotations` extensions used by the templates automatically filter out configurations that will be handled by conventions. It would be nice if the user could still choose...

type-enhancement
area-scaffolding

Today, the templates add usings for the fluent API calls after the list of calls is retrieved. ```cs var propertyFluentApiCalls = property.GetFluentApiCalls(annotationCodeGenerator) ?.FilterChain(c => !(Options.UseDataAnnotations && c.HasDataAnnotation) && !(c.Method ==...

type-enhancement
area-scaffolding

Having queries and execution times in log is awesome feature, but for some queries it's not that useful and can generate a lot of noise. For example when inserting or...

type-enhancement
customer-reported
area-logging

See [blog post](https://devblogs.microsoft.com/dotnet/announcing-dotnet-7-preview-7/#simplified-ordering-with-system-linq). These new methods aren't useful over entities, but can be useful after the user has projected from the entity to some column and wants to order that....

type-enhancement
area-query
consider-for-next-release

SQLite 3.37.0 added support for [STRICT tables](https://www.sqlite.org/stricttables.html) which codified a new column type name--`ANY`. We should review the places we use the column type name and make sure we're handling...

type-enhancement
area-adonet-sqlite

```C# context.Customers.ExecuteUpdate(s => s.SetProperty(c => c.Property, c => c.Navigation.Value)); ``` Nav expansion needs to expand `c.Navigation` but it is inside doubly nested lambda hence it doesn't recognize implicitly and requires...

type-enhancement
customer-reported
consider-for-next-release
area-bulkcud

See https://github.com/dotnet/efcore/issues/28205

type-enhancement
area-model-building
area-relational-mapping

Jsonpath is a standard language for querying inside JSON documents, supported by [PostgreSQL](https://www.postgresql.org/docs/current/functions-json.html#FUNCTIONS-SQLJSON-PATH), [SQL Server](https://docs.microsoft.com/en-us/sql/relational-databases/json/json-path-expressions-sql-server?view=sql-server-ver16), and possibly others. We could have a pipeline for translating LINQ operators inside JSON documents...

type-enhancement
customer-reported
consider-for-next-release
area-json

- [ ] Process join entity types in KeyDiscoveryConvention.ProcessForeignKeyPropertiesChanged, similarly for SqlServerOnDeleteConvention - [ ] Don't use a convention scope in `UsingEntity` - [ ] Consider setting nullability for value...

type-bug
area-conventions

As discussed offline, we're going to add these, which are identical to FromSqlInterpolated/ExecuteSqlInterpolated. FormattableString is safe from SQL injection attacks, so we generally want to guide users towards doing raw...

type-enhancement
area-query