Working with a RuleApplicationDef for Authoring

  • Updated

Prerequisites: None
Namespaces: InRule.Repository
Classes: RuleApplicationDef, RuleAppRef, RuleCatalogConnection
See Also: Opening a RuleApplicationDef for Authoring from Catalog, Working with RuleApplicationDef in the Catalog

The RuleApplicationDef object is used to dynamically create and modify rules and schema elements in code.

Create new rule application

RuleApplicationDef ruleAppDef = new RuleApplicationDef();

Load existing rule application from file system

RuleApplicationDef ruleAppDef =
RuleApplicationDef.Load(@"C:\RuleApps\MortgageCalculator.ruleapp");

Save a rule application to the file system

ruleAppDef.SaveToFile(@"C:\RuleApps\MortgageCalculator.ruleapp");

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.