According to the docs the QueryOnly Attribute should prevent write access of the column.
But it seems that it also prevents the reading of the column, because in my case the columns is always null.
In the class ExpressionSqlBuilder in the method
public ExpressionSqlBuilder<T> WriteSelectAllColumns()
is the following line
if (_ti.Excludes.Contains(c)) continue;
This seems wrong to me.
The accompaning test seems not to fail because of the unfortunate default value 0 of the column.
According to the docs the QueryOnly Attribute should prevent write access of the column. But it seems that it also prevents the reading of the column, because in my case the columns is always null.
In the class
ExpressionSqlBuilder
in the methodis the following line
This seems wrong to me. The accompaning test seems not to fail because of the unfortunate default value 0 of the column.