Added whereEntity(clause,params)