Update from preview 5 to preview 6 results in InvalidCastException (EntityShaperExpression to SqlExpression) on existing select query #16101
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
An InvalidCastException is thrown in existing code when updating from Preview 5 to Preview 6.
The exception message is:
Steps to reproduce
The call that results in the exception is:
The convert is a simple creation of a new object using only properties from the table itself. No foreign keys or other type of references. The table is a simple table with an integer Id and couple of string fields.
Further technical details
Package references
Visual Studio Enterprise 2019 16.2.0 Preview 2.0
.Net Core 3.0.100-preview6-012264
The text was updated successfully, but these errors were encountered: