How to implement a rule engine?

后端 未结 10 1964
借酒劲吻你
借酒劲吻你 2020-11-27 23:58

I have a db table that stores the following:

RuleID  objectProperty ComparisonOperator  TargetValue
1       age            \'greater_than\'             15
2          


        
10条回答
  •  佛祖请我去吃肉
    2020-11-28 00:47

    How about using the workflow rules engine?

    You can execute Windows Workflow Rules without Workflow see Guy Burstein's Blog: http://blogs.microsoft.co.il/blogs/bursteg/archive/2006/10/11/RuleExecutionWithoutWorkflow.aspx

    and to programatically create your rules, see Stephen Kaufman's WebLog

    http://blogs.msdn.com/b/skaufman/archive/2006/05/15/programmatically-create-windows-workflow-rules.aspx

提交回复
热议问题