efcore
efcore copied to clipboard
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
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...
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...
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; } ```
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...
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...
#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 -...
## 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;...
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