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.
Hi Folks, I am building a WinUI 3 app and want to use SQLite using ef core. When using the Microsoft.Extensions.Hosting package, the `dotnet ef migrations add` command doesn't give...
Assume a DbContext with two related DBSet properties like so: ```csharp public MyDbContext : DbContext { public virtual DbSet Account { get; set; } public virtual DbSet Account { get;...
This fails model validation: ``` Unhandled exception. System.InvalidOperationException: Complex type 'Blog.ComplexContainer#ComplexContainer (ComplexContainer)' has no properties defines. Configure at least one property or don't include this type in the model. at...
This would allow functions in the database to be used in LINQ queries. This includes: - [x] Collection-valued composable functions, such as TVFs in SQL Server (#20051) - [ ]...
This is a grouping of related issues. Feel free to vote (š) for this issue to indicate that this is an area that you think we should spend time on,...
Currently we generate names for some of the parameters and not others. Good thing about not naming parameters is that we can never get a clash (since compiler generates the...
When producing a reader expression for NTS column, spatial type mappings use their own converters to modify the valueExpression in the `CustomizeDataReaderExpression` rather than going through normal converter process. Problem...
Currently when building property value expressions in the materializer, sometimes we must go through converter. Some of those converters capture constants "forbidden" in the AOT context. To avoid that, we...
Failed tests 5.1413058sā Microsoft.Data.Sqlite.SqliteCommandTest.ExecuteNonQuery_throws_when_busy_with_returning Assert.Equal() Failure: Values differ\r\nExpected: 5\r\nActual: 1 at Microsoft.Data.Sqlite.SqliteCommandTest.c.b__61_0(SqliteCommand command) in D:\code\efcore3\test\Microsoft.Data.Sqlite.Tests\SqliteCommandTest.cs:line 990 at Microsoft.Data.Sqlite.SqliteCommandTest.c__DisplayClass64_0.d.MoveNext() in D:\code\efcore3\test\Microsoft.Data.Sqlite.Tests\SqliteCommandTest.cs:line 1077 --- End of stack trace from previous location ---...
**What problem are you trying to solve?** I want to go to my log of what SQL EFC has generated and copy it, paste it into SSMS and run it...