nhibernate - Operand type clash: bigint is incompatible with time -


i using time datatype column in table in sql server.i working in wpf project using nhibernate in service layer database operations. generated domain class,dto classes using entity developer. time column changed timespan data type in domain dto classes. while saving data table getting error "operand type clash: bigint incompatible time". did face similar issue ?

i figured out problem. had change in mapping .customtype("timespan") .customtype("timeastimespan")


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -