コード例 #1
0
 public override TypedValue[] GetTypedValues(ISessionFactoryImplementor sessionFactory, System.Type persistentClass, IDictionary aliasClasses)
 {
     return(new TypedValue[]
     {
         AbstractCriterion.GetTypedValue(sessionFactory, persistentClass, _propertyName, _lo, aliasClasses),
         AbstractCriterion.GetTypedValue(sessionFactory, persistentClass, _propertyName, _hi, aliasClasses)
     });
 }
コード例 #2
0
        public override TypedValue[] GetTypedValues(ISessionFactoryImplementor sessionFactory, System.Type persistentClass, IDictionary aliasClasses)
        {
            object icvalue = _ignoreCase ? _value.ToString().ToLower() : _value;

            return(new TypedValue[]
            {
                AbstractCriterion.GetTypedValue(sessionFactory, persistentClass, _propertyName, icvalue, aliasClasses)
            });
        }