Example #1
0
        internal override void ProcessMappingsFromRowValues(RowValues values)
        {
            NegativeKeyword = new NegativeKeyword {
                Type = "NegativeKeyword"
            };

            values.ConvertToEntity(this, Mappings);
        }
 /// <summary>
 /// Outputs the NegativeKeyword.
 /// </summary>
 protected void OutputNegativeKeyword(NegativeKeyword negativeKeyword)
 {
     if (negativeKeyword != null)
     {
         OutputStatusMessage("ForwardCompatibilityMap: ");
         if (negativeKeyword.ForwardCompatibilityMap != null)
         {
             foreach (var pair in negativeKeyword.ForwardCompatibilityMap)
             {
                 OutputStatusMessage(string.Format("Key: {0}", pair.Key));
                 OutputStatusMessage(string.Format("Value: {0}", pair.Value));
             }
         }
         OutputStatusMessage(string.Format("Id: {0}", negativeKeyword.Id));
         OutputStatusMessage(string.Format("MatchType: {0}", negativeKeyword.MatchType));
         OutputStatusMessage(string.Format("Text: {0}", negativeKeyword.Text));
         OutputStatusMessage(string.Format("Type: {0}", negativeKeyword.Type));
     }
 }
        internal override void ProcessMappingsFromRowValues(RowValues values)
        {
            NegativeKeyword = new NegativeKeyword { Type = "NegativeKeyword" };

            values.ConvertToEntity(this, Mappings);
        }