コード例 #1
0
        public TypedValue GetParameterTypedValue(ICriteria criteria, ICriteriaQuery criteriaQuery)
        {
            var matchValue = value.ToString().ToLower();

            return(CriterionUtil.GetTypedValue(criteriaQuery, criteria, projection, propertyName, matchValue));
        }
コード例 #2
0
        public TypedValue GetParameterTypedValue(ICriteria criteria, ICriteriaQuery criteriaQuery)
        {
            object icvalue = ignoreCase ? value.ToString().ToLower() : value;

            return(CriterionUtil.GetTypedValue(criteriaQuery, criteria, _projection, propertyName, icvalue));
        }