make DbParameterAccessor direction an enum