Showing posts with the label entity-framework

[FIXED] Writing Recursive CTE using Entity Framework Fluent syntax or Inline syntax

Issue I am new to this recursion in both SQL and Entity Framework (ADO.NET Entity Mapping). I am w…

[FIXED] MAUI 'SQLite Error 1: 'no such table: Players'.'

Issue when i want to add fields in the database it tells me "SQLite Error 1: 'no such tabl…

[FIXED] Track database inserts with specific data

Issue I'm maintaining ASP.NET MVC application, which talks to MS SQL database via Entity Framew…

[FIXED] Trying to connect to SQL server EF error: 'The keyword 'Network Library' is not supported on this platform

Issue Full Error: System.NotSupportedException: 'The keyword 'Network Library' is not s…

[FIXED] How do I speed up this EF query?

Issue How do I speed up this EntityFramework query? The profiler tells me that most of the time is …

[FIXED] How can I force entity framework to insert identity columns?

Issue I want to write some C# code to initialize my database with some seed data. Clearly, this is…

[FIXED] How do I retrieve the creation date of a SQL Server database with EF Core?

Issue Is there a way for me to get the create_date property of sys.databases view in SQL Server w…

[FIXED] Entity Framework | Sequence contains more than one matching element

Issue I used the database first approach. The model is right (or at least it looks like) But I alwa…