private RowCountCondition CreateFrom(RowCountConditionAttribute attribute)
 {
     var rowCountCondition = new RowCountCondition();
     rowCountCondition.Enabled = true;
     rowCountCondition.Name = attribute.ConditionName;
     rowCountCondition.ResultSet = attribute.ResultSet;
     rowCountCondition.RowCount = attribute.ExpectedValue;
     return rowCountCondition;
 }
 public void AddRowCountCondition(RowCountConditionAttribute attribute)
 {
     RowCountCondition condition = CreateFrom(attribute);
     _action.Conditions.Add(condition);
 }