You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use e.g. modelBuilder.Entity<QueryResult>().HasNoKey(); to register custom query result types for usage with "FromRawSql". We migrated from DbQuery<> as we moved along from ef core 2.2 .
Since ef core 3.1 new migrations include code to create table for the entity types marked with .HasNoKey(). The only way I was able to work around this behaviour was to call "ToView" on those types.
Steps to reproduce
The text was updated successfully, but these errors were encountered:
We use e.g.
modelBuilder.Entity<QueryResult>().HasNoKey();
to register custom query result types for usage with "FromRawSql". We migrated from DbQuery<> as we moved along from ef core 2.2 .Since ef core 3.1 new migrations include code to create table for the entity types marked with .HasNoKey(). The only way I was able to work around this behaviour was to call "ToView" on those types.
Steps to reproduce
The text was updated successfully, but these errors were encountered: