internal override void ParsePropertyExpression(Dictionary <string, string> placeHolders) { if (string.IsNullOrEmpty(PropertyExpression)) { ParsedPropertyExpression = t => true; var prop = new Property(PropertyName, Type, PropertyCategory.Calculated); RuleAwareEntityPropertyInfo.CreateCalculatedProperty <TEntity>(_context.RootEntityType, prop); } else { base.ParsePropertyExpression(placeHolders); } }
internal virtual void ParsePropertyExpression(Dictionary <string, string> placeHolders) { var prop = new Property(PropertyName, Type, PropertyCategory.Calculated); RuleAwareEntityPropertyInfo.CreateCalculatedProperty <TEntity>(_context.RootEntityType, prop); }