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
Post a Comment