Here are the examples of the csharp api class System.Data.Common.CommandTrees.Internal.DbExpressionRuleProcessingVisitor.ProcessRules(System.Data.Common.CommandTrees.DbExpression, System.Collections.Generic.List) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
View licenseprivate DbExpression ApplyRules(DbExpression expression) { // Driver loop to apply rules while the status of processing is 'Reset', // or correctly set the _stopped flag if status is 'Stopped'. List<DbExpressionRule> currentRules = this.GetRules().ToList(); var ruleResult = ProcessRules(expression, currentRules); while (ruleResult.Item2 == DbExpressionRule.ProcessedAction.Reset) { currentRules = this.GetRules().ToList(); ruleResult = ProcessRules(ruleResult.Item1, currentRules); } if (ruleResult.Item2 == DbExpressionRule.ProcessedAction.Stop) { _stopped = true; } return ruleResult.Item1; }