, ExecuteScalar . . unboxed , cast. # 4.3.2:
unboxing , nullable-value, , , , nullable-value, .
Converting it to long is not wise. There you could not do anything with this, which in the end would not lead to some kind of SQL error. Like incrementing it yourself.
source
share