private ScalarValueCondition CreateFrom(ScalarValueConditionAttribute attribute)
 {
     var scalarValueCondition = new ScalarValueCondition();
     scalarValueCondition.ColumnNumber = attribute.ColumnNumber;
     scalarValueCondition.Enabled = true;
     scalarValueCondition.ExpectedValue = attribute.ExpectedValue;
     scalarValueCondition.Name = attribute.ConditionName;
     scalarValueCondition.NullExpected = attribute.NullExpected;
     scalarValueCondition.ResultSet = attribute.ResultSet;
     scalarValueCondition.RowNumber = attribute.RowNumber;
     return scalarValueCondition;
 }
 public void AddScalarValueCondition(ScalarValueConditionAttribute attribute)
 {
     ScalarValueCondition condition = CreateFrom(attribute);
     _action.Conditions.Add(condition);
 }