Commit 4fcd381
vp
Refactor CoreDbContext to use C# 12 primary constructor
Refactored the `CoreDbContext` class to leverage the new C# 12
primary constructor syntax, simplifying the class definition
and reducing boilerplate code. Updated XML documentation to
include a `<remarks>` section for additional context. Removed
the explicit constructor definition and its associated
documentation as it is no longer needed. No changes were made
to the `Customers` property.1 parent 47e1875 commit 4fcd381
1 file changed
Lines changed: 6 additions & 11 deletions
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 22 | | |
28 | 23 | | |
29 | 24 | | |
| |||
0 commit comments