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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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