Example #1
0
        public override IQuery AddRestriction(string property, RestrictionTypes type, object value)
        {
            Column column = Mapping.TypeTableMapping[baseType].Columns.Single(x => x.PropertyName == property);

            column.AddRestriction(type, value);

            return(this);
        }
Example #2
0
        public override IQuery AddRestriction(string property, RestrictionTypes type, object value)
        {
            EntityBeanMapping <TBase> mapping = GetMapping();
            Column column = mapping.PropertyMapping[property];

            column.AddRestriction(type, value);

            return(this);
        }