How to query System generated columns on Developer Edition
Zhang, Li
0
Reputation points
We are using EF 8.0 to manage data, one of the recent challenges is that the query on SQL Server Developer Edition and Enterpise Edition returns different results.
i.e., two columns StartTime/EndTime are generated like
entity.Property(e => e.StartTime).ValueGeneratedOnAddOrUpdate();
However, a rawSql (Select *) won't return those two columns on Developer Edition. My question: how to write the right query disregarding the different editions? Thanks.
Sign in to answer