correct attribute/rel return type in Obj/DbEntity as a result can remove lots of unneeded casts also some generics cleanup