public Rule(int id, string firstComponent, string firstProperty, string secondComponent, string secondProperty, RuleRelation relation, RuleType ruleType) { ID = id; FirstComponent = firstComponent; FirstProperty = firstProperty; SecondComponent = secondComponent; SecondProperty = secondProperty; Relation = relation; RuleType = ruleType; }
public Rule() { ID = -1; FirstComponent = string.Empty; FirstProperty = string.Empty; SecondComponent = string.Empty; SecondProperty = string.Empty; Relation = new RuleRelation(); RuleType = new RuleType(); }