Skip to content

Commit

Permalink
React to entity/query type consolidation
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Mar 8, 2019
1 parent 91ff9c0 commit b8dcba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/EFCore.PG.FunctionalTests/WithConstructorsNpgsqlTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.TestUtilities;
Expand All @@ -24,7 +24,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder, DbContext con
{
base.OnModelCreating(modelBuilder, context);

modelBuilder.Query<BlogQuery>().ToView("Blog");
modelBuilder.Entity<BlogQuery>().HasNoKey().ToTable("Blog");
}
}
}
Expand Down

0 comments on commit b8dcba1

Please sign in to comment.