Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Using umbraco 6.1.3 with uComponents 5.4 and uMapper and am getting the following error
System.Reflection.AmbiguousMatchException: Ambiguous match found
this is when i try
Section section = uMapper.Find<Section>(sectionId);
my model looks like
public class Section { public int Page { get; set; } public string Name { get; set; } public string SectionSummary { get; set; } }
My mapping in ApplicationStartupHandler looks like
uMapper.CreateMap<Section>(); uMapper.CachingEnabled = true;
I have doc type with Alias Section and 2 properties on it Page and SectionSummary I want Name to map to node.Name was thinking that would happen automagically?
Any ideas?
regards
Ismail
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
uMapper issue
Using umbraco 6.1.3 with uComponents 5.4 and uMapper and am getting the following error
System.Reflection.AmbiguousMatchException: Ambiguous match found
this is when i try
my model looks like
My mapping in ApplicationStartupHandler looks like
I have doc type with Alias Section and 2 properties on it Page and SectionSummary I want Name to map to node.Name was thinking that would happen automagically?
Any ideas?
regards
Ismail
is working on a reply...