SQL ISNULL equivalent in ormlite

asked8 years ago
last updated8 years ago
viewed316 times
Up Vote1Down Vote

is there an equivalent of ISNULL in SQL for OrmLite?

I tried adding

[Default(typeof(int),"-1")]

to my class model, but had no luck..

I'm working with MVC5 and C#