Using the Entity Framework Code First, the web application crashes when DbContext is called with the following error:
Approval Failed
Expression: primitiveType! = Null
Description: Assertion failed: primitiveType! = Null
Failure in the following line of code:
public class MyDb : DbContext {
which is called:
MyDb _db = new MyDb();
So, this is like calling a DbContext, causing a fatal error. DbContext is an EF function and I cannot debug inside EntityFramework.dll
source
share