group by date in linq -


I have a table in which the datetime null field in the SQL server is to group results based on the year of that region I am trying. But, when I wrote a Linux query, I did not get intensive for the year for that area. It only shows HasValue and value because I think it changes the faucet type, how do I group in this case?

You must group the group's value on year Nullable & lt; DateTime & gt; such as

  obj.DateTimeField.Value group obj In G    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -