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

We need to create a good experience to bootstrap an existing database with Migrations. Things to consider: - The database may have been using Migrations in EF6 - The first...

type-enhancement
punted-for-2.0
area-migrations
ef6-parity
punted-for-7.0

https://github.com/dotnet/efcore/pull/29462#issuecomment-1382347741 was an automatic update for TextTemplating, but some APIs were made obsolete which caused issues in scaffolding. The PR was closed at the teams request and the update should...

type-enhancement
blocked
area-scaffolding

https://github.com/dotnet/efcore/blob/315be6c768412f5e236e1cf1b0ffb1412de45e8e/src/EFCore.Design/Scaffolding/Internal/CSharpDbContextGenerator.tt#L62-L65 https://github.com/dotnet/efcore/blob/315be6c768412f5e236e1cf1b0ffb1412de45e8e/src/EFCore.Design/Scaffolding/Internal/CSharpEntityTypeGenerator.tt#L127 https://github.com/dotnet/efcore/blob/315be6c768412f5e236e1cf1b0ffb1412de45e8e/src/EFCore.Design/Scaffolding/Internal/CSharpEntityTypeGenerator.tt#L154 ``` !e.IsSimpleManyToManyJoinEntityType())) { if (!string.IsNullOrEmpty(entityType.GetComment())) { #> /// /// /// public virtual DbSet { get; set; } ```

type-enhancement
customer-reported
good first issue

All relational databases support some way of checking whether a given JSON PATH exists in a JSON document. We should add a relational-level EF.Functions.JsonExists (or similar) which the different providers...

type-enhancement
customer-reported
good first issue
area-query
area-json

Fixes #29306 - [x] I've read the guidelines for [contributing](CONTRIBUTING.md) and seen the [walkthrough](https://youtu.be/9OMxy1wal1s?t=1869) - [x] I've posted a comment on an issue with a detailed description of how I...

waiting-for-response

#28871 tracks weakly-typed JSON mapping via JsonDocument/JsonElement, where the JSON document schema varies and so a strongly-typed model isn't appropriate. We can also allow simply mapping arbitrary Dictionary types -...

closed-duplicate

## File a bug After updating to EF Core 8 preview 6, our existing code that uses `ReferenceEntry.LoadAsync()` no longer works. The repro code below is an extremely simplified version;...

customer-reported

Part of #30677 There is still work to do here, but this is basically working so I wanted to get it out for review. Remaining work: - Negative cases/exception messages...

DbDataSource

type-enhancement
area-adonet-sqlite