We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baeb8dc commit 156edf7Copy full SHA for 156edf7
test/BloggingContext.cs
@@ -4,8 +4,9 @@ namespace EFCoreViewer.Test;
4
5
public class BloggingContext : DbContext
6
{
7
- public DbSet<Blog>? Blogs { get; set; }
8
- public DbSet<Post>? Posts { get; set; }
+ public DbSet<Blog> Blogs => Set<Blog>();
+
9
+ public DbSet<Post> Posts => Set<Post>();
10
11
public string DbPath { get; }
12
0 commit comments