Пример #1
0
 protected override void ProcessUnmappedData(System.Collections.Generic.IDictionary <string, JToken> unmappedData, StreamingContext context)
 {
     if (Details == null)
     {
         Details = new MpContactDetails();
     }
     Details.EmailAddress = unmappedData.GetUnmappedDataField <string>("Email");
     Details.FirstName    = unmappedData.GetUnmappedDataField <string>("FirstName");
     Details.LastName     = unmappedData.GetUnmappedDataField <string>("LastName");
     Details.HouseholdId  = unmappedData.GetUnmappedDataField <int>("HouseholdId");
 }