Skip to content

Commit 4ed13cb

Browse files
Update DiscriminatorPropertyConfiguration.cs (#4952)
1 parent 4d75546 commit 4ed13cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/core/Modeling/Inheritance/FluentAPI/DiscriminatorPropertyConfiguration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class MyContext : DbContext
1010
protected override void OnModelCreating(ModelBuilder modelBuilder)
1111
{
1212
modelBuilder.Entity<Blog>()
13-
.Property("Discriminator")
13+
.Property("blog_type")
1414
.HasMaxLength(200);
1515
}
1616
#endregion
@@ -25,4 +25,4 @@ public class Blog
2525
public class RssBlog : Blog
2626
{
2727
public string RssUrl { get; set; }
28-
}
28+
}

0 commit comments

Comments
 (0)