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); }
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); }