22 Commits

Author SHA1 Message Date
fc9d89ae97 Add example filter function and insert matches. 2025-04-07 16:57:31 +02:00
3652a69730 Add example Explicit Loading function. 2025-04-07 14:02:25 +02:00
8103c682cf Add example Eager Loading function. 2025-04-07 13:50:57 +02:00
6dcf07e90e Add example function inserting relational data objects. 2025-04-07 13:31:11 +02:00
b1f99dc57a Ensure database created on startup. 2025-04-07 10:22:05 +02:00
ba3c65d7a1 Move Id to BaseDomainModel and replace TeamId with regular Id. 2025-04-06 11:27:13 +02:00
10d207cb44 add examples for ExecuteDelete and ExecuteUpdate functions. 2025-04-05 23:33:19 +02:00
86b2e60e8c Add example delete for coach. 2025-04-05 23:26:53 +02:00
f58ce8f120 Add update example with no-tracking for coach. 2025-04-05 23:23:52 +02:00
963378f2e9 Add insert example. 2025-04-05 23:06:01 +02:00
5a2a82b413 Comment out and remove unused code. 2025-04-05 23:05:42 +02:00
915434f44d Add example showing difference between directly toList or using IQueryable. 2025-04-05 21:48:12 +02:00
1aae643a78 Add example query with tracking disabled.
This can also be done globally, see context file.
2025-04-05 21:29:48 +02:00
51eb8b117a Add examples with selecting specific columns and using a DTO. 2025-04-05 20:54:19 +02:00
b715fd3150 Add example skip-and-take query function. 2025-04-05 18:42:59 +02:00
f4978d215e Add example functions for ordered and grouped queries. 2025-04-05 18:31:55 +02:00
e542616532 Add example counting query functions. 2025-04-05 17:49:45 +02:00
2ef3859d2a Add example basic query functions. 2025-04-05 17:23:44 +02:00
61b0e99f94 Create example queries in Console project. 2025-04-05 00:19:28 +02:00
a53348294e Add reference to Data for the Console project. 2025-04-04 17:15:01 +02:00
a1b318e8bc Install Microsoft.EntityFrameworkCore.Design NuGet package 9.0.3 version in the Console project.
dotnet add package Microsoft.EntityFrameworkCore.Design --version 9.0.3
2025-04-04 17:12:49 +02:00
f1c4f4dda4 Add empty Console project to solution.
dotnet new console -n EntityFrameworkCore.Console
dotnet sln add EntityFrameworkCore.Console/EntityFrameworkCore.Console.csproj
2025-04-04 17:04:09 +02:00