<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>AutoMapper Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/AutoMapper/Wiki/View.aspx?title=Home</link><description>AutoMapper Wiki Rss Description</description><item><title>New Comment on "Flattening"</title><link>https://automapper.codeplex.com/wikipage?title=Flattening&amp;ANCHOR#C27525</link><description>One problem I&amp;#39;m seeing is that say your customer domain object had the property CustomerName instead of just Name then the DTO needs to have the property&amp;#10;CustomerCustomerName&amp;#10;&amp;#10;It would be good if Automapper could check the property isn&amp;#39;t prefixed already with the class name.</description><author>MrChriZ</author><pubDate>Sun, 19 May 2013 12:07:56 GMT</pubDate><guid isPermaLink="false">New Comment on "Flattening" 20130519120756P</guid></item><item><title>New Comment on "Custom Value Resolvers"</title><link>http://automapper.codeplex.com/wikipage?title=Custom Value Resolvers&amp;ANCHOR#C25410</link><description>Why is the advantage of using ResolveUsing instead of just UseValue within a ForMember call&amp;#63;</description><author>jtu100</author><pubDate>Tue, 30 Oct 2012 12:54:58 GMT</pubDate><guid isPermaLink="false">New Comment on "Custom Value Resolvers" 20121030125458P</guid></item><item><title>New Comment on "Custom Value Resolvers"</title><link>http://automapper.codeplex.com/wikipage?title=Custom Value Resolvers&amp;ANCHOR#C24746</link><description>Can i map two types to form a destination type&amp;#63; Basically I am looking at merging two types to form destination type. Please help.</description><author>shailendrasute</author><pubDate>Thu, 16 Aug 2012 18:36:37 GMT</pubDate><guid isPermaLink="false">New Comment on "Custom Value Resolvers" 20120816063637P</guid></item><item><title>New Comment on "Documentation"</title><link>http://automapper.codeplex.com/documentation?&amp;ANCHOR#C22874</link><description>The Automapper GitHub wiki doesn&amp;#39;t appear to support search nor appear to be indexed.  Even googling with a &amp;#34;site&amp;#58;github.com&amp;#34; constraint doesn&amp;#39;t turn up anything more than bug reports.  Makes it difficult to find documentation relating to certain functions&amp;#47;APIs in AutoMapper.</description><author>AaronLS</author><pubDate>Fri, 09 Mar 2012 19:37:46 GMT</pubDate><guid isPermaLink="false">New Comment on "Documentation" 20120309073746P</guid></item><item><title>Updated Wiki: Home</title><link>http://automapper.codeplex.com/wikipage?version=26</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;AutoMapper has moved to GitHub&lt;/h1&gt;
AutoMapper has completely moved to GitHub:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/AutoMapper/AutoMapper" class="externalLink"&gt;https://github.com/AutoMapper/AutoMapper&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The site can be found at &lt;a href="http://automapper.org" class="externalLink"&gt;http://automapper.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;All issues should be reported on GitHub. No issues will be responded to on CodePlex.&lt;br /&gt;&lt;br /&gt;I can&amp;#39;t turn anything off on CodePlex without deleting the whole site, which would be very confusing.&lt;br /&gt;&lt;br /&gt;The latest downloads can be found at NuGet or at GitHub.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jbogard</author><pubDate>Sat, 24 Dec 2011 16:15:20 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111224041520P</guid></item><item><title>New Comment on "Custom Type Converters"</title><link>http://automapper.codeplex.com/wikipage?title=Custom Type Converters&amp;ANCHOR#C21546</link><description>any sample for changed interface ITypeConverter&amp;#10;&amp;#10;I get this error now&amp;#10;Error&amp;#9;7725&amp;#9;&amp;#39;BusinessFacade.Mappers.DecimalToNullableInt&amp;#39; does not implement interface member &amp;#39;AutoMapper.ITypeConverter&amp;#60;decimal,int&amp;#63;&amp;#62;.Convert&amp;#40;AutoMapper.ResolutionContext&amp;#41;&amp;#39;</description><author>alhambraeidos</author><pubDate>Thu, 17 Nov 2011 14:27:53 GMT</pubDate><guid isPermaLink="false">New Comment on "Custom Type Converters" 20111117022753P</guid></item><item><title>Updated Wiki: Documentation</title><link>http://automapper.codeplex.com/documentation?version=4</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;AutoMapper has moved to GitHub&lt;/h1&gt;
AutoMapper has completely moved to GitHub:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/AutoMapper/AutoMapper" class="externalLink"&gt;https://github.com/AutoMapper/AutoMapper&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The site can be found at &lt;a href="http://automapper.org" class="externalLink"&gt;http://automapper.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;All issues should be reported on GitHub. No issues will be responded to on CodePlex.&lt;br /&gt;&lt;br /&gt;I can&amp;#39;t turn anything off on CodePlex without deleting the whole site, which would be very confusing.&lt;br /&gt;&lt;br /&gt;Documentation is on the wiki: &lt;a href="https://github.com/AutoMapper/AutoMapper/wiki" class="externalLink"&gt;https://github.com/AutoMapper/AutoMapper/wiki&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:44:00 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20110902104400P</guid></item><item><title>Updated Wiki: Home</title><link>http://automapper.codeplex.com/wikipage?version=25</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;AutoMapper has moved to GitHub&lt;/h1&gt;
AutoMapper has completely moved to GitHub:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/AutoMapper/AutoMapper" class="externalLink"&gt;https://github.com/AutoMapper/AutoMapper&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The site can be found at &lt;a href="http://automapper.org" class="externalLink"&gt;http://automapper.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;All issues should be reported on GitHub. No issues will be responded to on CodePlex.&lt;br /&gt;&lt;br /&gt;I can&amp;#39;t turn anything off on CodePlex without deleting the whole site, which would be very confusing.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:37:18 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110902103718P</guid></item><item><title>New Comment on "Documentation"</title><link>http://automapper.codeplex.com/documentation?&amp;ANCHOR#C20839</link><description>Somehow the subjects on this page are not hyperlinks, only the first item is. This makes it hard to read the documentation which is there.</description><author>TdeRoo</author><pubDate>Thu, 01 Sep 2011 04:21:56 GMT</pubDate><guid isPermaLink="false">New Comment on "Documentation" 20110901042156A</guid></item><item><title>New Comment on "Custom Value Formatters"</title><link>http://automapper.codeplex.com/wikipage?title=Custom Value Formatters&amp;ANCHOR#C20830</link><description>Does this mean that I can supply a &amp;#60;System.ComponentModel.DataAnnotations.DisplayFormat&amp;#40;DataFormatString&amp;#58;&amp;#61;&amp;#34;&amp;#123;0&amp;#58;dd MMM yyyy&amp;#125;&amp;#34;&amp;#41;&amp;#62; attribute to a string property in a class and that it will use the appropriate ToString&amp;#40;format&amp;#41;&amp;#63; I have several classes which implement IFormattable so that would really help I think.</description><author>TdeRoo</author><pubDate>Wed, 31 Aug 2011 09:51:40 GMT</pubDate><guid isPermaLink="false">New Comment on "Custom Value Formatters" 20110831095140A</guid></item><item><title>New Comment on "Configuration Validation"</title><link>http://automapper.codeplex.com/wikipage?title=Configuration Validation&amp;ANCHOR#C20073</link><description>If you&amp;#39;re stuck using VB like me, this is the syntax for Ignore&amp;#40;&amp;#41; &amp;#58;&amp;#10;Mapper.CreateMap&amp;#40;Of Source, Destination&amp;#41;&amp;#40;&amp;#41;&amp;#10;               .ForMember&amp;#40;Function&amp;#40;dest&amp;#41; dest.SomeValue, Sub&amp;#40;opt&amp;#41; opt.Ignore&amp;#40;&amp;#41;&amp;#41;&amp;#10;Note the Sub instead of Function.</description><author>kpetersen</author><pubDate>Wed, 22 Jun 2011 16:39:36 GMT</pubDate><guid isPermaLink="false">New Comment on "Configuration Validation" 20110622043936P</guid></item><item><title>New Comment on "Custom Value Resolvers"</title><link>http://automapper.codeplex.com/wikipage?title=Custom Value Resolvers&amp;ANCHOR#C20030</link><description>Is it possible to make this fluent or is there a better way to do the following&amp;#63;&amp;#10;For example if I have a set of dates stored in UTC in my domain model and I need to convert them to local time for my view models it would be nice to write one custom resolver to do the date transformation and then do this every time I have a date in the domain model&amp;#58;&amp;#10;Mapper.CreateMap&amp;#60;Order, OrderModel&amp;#62;&amp;#40;&amp;#41;&amp;#10;                        .ForMember&amp;#40;dest &amp;#61;&amp;#62; dest.OrderDate, opt &amp;#61;&amp;#62; opt.MapFrom&amp;#40;m &amp;#61;&amp;#62; m.OrderDate&amp;#41;.ResolveUsing&amp;#60;TimeZoneResolver&amp;#62;&amp;#40;&amp;#41;&amp;#41; &amp;#10;At present I think I need a new custom resolver don&amp;#39;t I&amp;#63;&amp;#10;Thanks for a brilliant time saver by the way.</description><author>paul07481</author><pubDate>Sun, 19 Jun 2011 08:18:07 GMT</pubDate><guid isPermaLink="false">New Comment on "Custom Value Resolvers" 20110619081807A</guid></item><item><title>New Comment on "Getting Started"</title><link>http://automapper.codeplex.com/wikipage?title=Getting Started&amp;ANCHOR#C19811</link><description>Well done sir&amp;#33;   Saved me a boatload of time...  it&amp;#39;s very smart&amp;#33;</description><author>clee2005</author><pubDate>Mon, 30 May 2011 18:42:42 GMT</pubDate><guid isPermaLink="false">New Comment on "Getting Started" 20110530064242P</guid></item><item><title>New Comment on "Custom Type Converters"</title><link>http://automapper.codeplex.com/wikipage?title=Custom Type Converters&amp;ANCHOR#C19757</link><description>I am a newbie and am looking for some advice on a design pattern for something very specific&amp;#58;&amp;#10;I am using Asp.Net MVC3 and EF 4.1 where I have an Email entity&amp;#58;&amp;#10;int Id&amp;#59;&amp;#10;string EmailAddress&amp;#59;&amp;#10;&amp;#10;I also have a Referral entity&amp;#58;&amp;#10;int Id&amp;#59;&amp;#10;Email ReferredEmail&amp;#59;&amp;#10;&amp;#10;I also have a ReferralVM&amp;#58;&amp;#10;string EmailAddress&amp;#59;&amp;#10;&amp;#10;I use the ReferralVM for Create and Edit actions - this way I can use regular expression validators for the email address.&amp;#10;&amp;#10;When using AutoMapper in the create and edit controller action, I want to map the ReferralVM to a Referral object, which in turn means that the string EmailAddress needs to be looked up in the db and either and existing or new Email entity needs to be returned to set the Email property of the Referral class.  During the &amp;#34;auto mapping&amp;#34; how can I get an instance of my EF database context&amp;#63;  If I new up one then the Referral and its Email property will be from different contexts, right&amp;#63;  I need to pass through in to the guts of the auto mapping functionality a reference to an EF data context.&amp;#10;&amp;#10;What&amp;#39;s a good approach for solving this problem&amp;#63;&amp;#10;&amp;#10;Thanks</description><author>t316</author><pubDate>Wed, 25 May 2011 14:10:59 GMT</pubDate><guid isPermaLink="false">New Comment on "Custom Type Converters" 20110525021059P</guid></item><item><title>New Comment on "Nested Mappings"</title><link>http://automapper.codeplex.com/wikipage?title=Nested Mappings&amp;ANCHOR#C19443</link><description>Hello&amp;#33;&amp;#10;Can I configure the case sensitiveness for mapping&amp;#63;&amp;#10;How can i handle it&amp;#63; &amp;#10;Please suggest me.&amp;#10;&amp;#10;Thanks</description><author>shipon_eye</author><pubDate>Wed, 27 Apr 2011 20:48:25 GMT</pubDate><guid isPermaLink="false">New Comment on "Nested Mappings" 20110427084825P</guid></item><item><title>New Comment on "Custom Value Resolvers"</title><link>http://automapper.codeplex.com/wikipage?title=Custom Value Resolvers&amp;ANCHOR#C19343</link><description>Mapper.CreateMap&amp;#60;Source, Destination&amp;#62;&amp;#40;&amp;#41;.ForMember&amp;#40;dest &amp;#61;&amp;#62; dest.Total, opt &amp;#61;&amp;#62; opt.MapFrom&amp;#40;src &amp;#61;&amp;#62; src.Value1 &amp;#43; src.Value2&amp;#41;&amp;#41;&amp;#59;&amp;#10;works just as well for the first example&amp;#59; Is there a reason to use Custom Value Resolution instead &amp;#40;other than as a way to specify something as a method rather than in a lambda&amp;#41;&amp;#63;</description><author>adamtolley</author><pubDate>Wed, 20 Apr 2011 19:17:38 GMT</pubDate><guid isPermaLink="false">New Comment on "Custom Value Resolvers" 20110420071738P</guid></item><item><title>New Comment on "Custom Type Converters"</title><link>http://automapper.codeplex.com/wikipage?title=Custom Type Converters&amp;ANCHOR#C19341</link><description>&amp;#64;danthman &amp;#58; If the design requires different conversions in different places you can get specific with your .ForMember&amp;#40;&amp;#41; options when mapping specific types.  It seems supplying a type converter is useful for defining a global conversion practice &amp;#40;which can be overridden by specific mappings&amp;#41;.  &amp;#10;&amp;#10;Check out the &amp;#34;Projection&amp;#34; feature.</description><author>adamtolley</author><pubDate>Wed, 20 Apr 2011 19:04:22 GMT</pubDate><guid isPermaLink="false">New Comment on "Custom Type Converters" 20110420070422P</guid></item><item><title>New Comment on "Projection"</title><link>http://automapper.codeplex.com/wikipage?title=Projection&amp;ANCHOR#C18893</link><description>&amp;#64;jpark2&amp;#10;For &amp;#34;Expression does not produce a value&amp;#34; error in VB.Net all you have to do is use Sub&amp;#40;opt&amp;#41;  instead of Function&amp;#40;opt&amp;#41;. The above example would look something like this.&amp;#10;&amp;#10;Mapper.CreateMap&amp;#40;Of CalendarEvent, CalendarEventForm&amp;#41;&amp;#40;&amp;#41;.&amp;#10;&amp;#9;ForMember&amp;#40;Function&amp;#40;dest&amp;#41; dest.EventDate, Sub&amp;#40;opt&amp;#41; opt.MapFrom&amp;#40;Function&amp;#40;src&amp;#41; src.EventDate.Date&amp;#41;&amp;#41;</description><author>mahichr</author><pubDate>Fri, 11 Mar 2011 20:29:35 GMT</pubDate><guid isPermaLink="false">New Comment on "Projection" 20110311082935P</guid></item><item><title>New Comment on "Configuration Validation"</title><link>http://automapper.codeplex.com/wikipage?title=Configuration Validation&amp;ANCHOR#C18685</link><description>I second that, it needs to be much clearer that a full mapping is not required when AssertConfigurationIsValid is not called. Maybe make make the assert configuration required, but add an IgnoreAllNotMapped methods to the MappingExpression, because usually you end up mapping 2 properties and adding ignore statements for all the others in order to be able to validate the configuration.</description><author>ntziolis</author><pubDate>Thu, 24 Feb 2011 10:46:18 GMT</pubDate><guid isPermaLink="false">New Comment on "Configuration Validation" 20110224104618A</guid></item><item><title>New Comment on "Roadmap"</title><link>http://automapper.codeplex.com/wikipage?title=Roadmap&amp;ANCHOR#C18292</link><description>Anyone used Automapper where the destination type have a dependency that need to be resolved.&amp;#10;At present, this is passed from the controller &amp;#40;also having this dependency, and resolved here&amp;#41; to the ViewModel constructor.&amp;#10;Changing this logic is not an option, and CreateMap&amp;#60;Source,Destination&amp;#62;&amp;#40;&amp;#41; won&amp;#39;t work, since Destination expect this depedency instance.</description><author>krokonoster</author><pubDate>Wed, 19 Jan 2011 06:31:43 GMT</pubDate><guid isPermaLink="false">New Comment on "Roadmap" 20110119063143A</guid></item></channel></rss>