Closed krilbe closed 5 years ago
I cloned the repo to do some tests and the problem seems to vanish with latest source (2.1.4). So, this issue would be a duplicate of #42 apparently. Sorry for not reading thoroughly...
All, well sorry for the delay, I'm going back to work.
The issue
Only on our server (Staging) not in devenv (Development) we get a NullReferenceException in the FbQuerySqlGenerator constructor.
Steps to reproduce
We are unable at this time to produce a valid test case, but it happens on a line like this:
DbSet<Document> docs = dbContext.Document
, whereDocument
is a model class. We have checked that the database connection is ok, thatdbContext
is not null and thatdbContext.Document
is not null. Strangely we can evaluatedbContext.Document?.ToString()
without problem, but notDbSet<Document> docs = dbContext.Document
orvar docs = dbContext.Document
.Error details
Further technical details
Firebird version: 3.0.3 (Windows 64 bit) EntityFrameworkCore.FirebirdSql version: 2.1.2.2
Other details about my project setup: The project is DotNetCore 2.1.