convert the orm to user ormlite instead of nhibernate.