コード例 #1
0
        private void CompilePlaceHolders()
        {
            foreach (var item in _placeHolders)
            {
                if (RuleAwareEntityPropertyInfo.HasProperty <TEntity>(_context.RootEntityType, item.Key))
                {
                    throw new PlaceHolderException(item.Key, item.Key, _context.RootEntityType, _context.RuleEngineId);
                }

                _propertyparser.AddPlaceHolder(item.Key, item.Value);
                _ruleparser.AddPlaceHolder(item.Key, item.Value);
            }
        }