<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>AutoMapper</title><link>http://automapper.codeplex.com/project/feeds/rss</link><description>A convention-based object-object mapper.</description><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>Commented Issue: Multiple mappings for the same type [4036]</title><link>http://automapper.codeplex.com/workitem/4036</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;d like to suggest to optionally specify a name for a mapping allowing to have multiple mappings of the same type with different configurations.&lt;br /&gt;&lt;br /&gt;e.g. Mapper.CreateMap&amp;#60;Order, OrderDto&amp;#62;&amp;#40;&amp;#34;OrderMapping&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;I see a lot of value in that especially in combination with the Ignore configuration.&lt;br /&gt;&lt;br /&gt;In one of my projects I currently implemented my own mapper which maps nested objects based on input parameters. Some of my service requests allow the consumer to specify whether nested collections are loaded. For example in one instance a consumer wants to load a collection of orders without having the details such as the products attached. In an other instance the consumer may want to retrieve orders with associated products. The mapping for both cases would be of the same type but the Ignore configuration would be different.&lt;br /&gt;&lt;br /&gt;This is similar to unity where you can configure a type and a name to distinguish between various type configurations of the same type. &amp;#58;&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: arfanbaig ** &lt;p&gt;&amp;#64;jbogard, is this Multiple mapping functionality available&amp;#42; now in the Automapper&amp;#63; &amp;#40;just a correction&amp;#41;&lt;/p&gt;</description><author>arfanbaig</author><pubDate>Tue, 11 Oct 2011 13:54:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: Multiple mappings for the same type [4036] 20111011015457P</guid></item><item><title>Commented Issue: Multiple mappings for the same type [4036]</title><link>http://automapper.codeplex.com/workitem/4036</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;d like to suggest to optionally specify a name for a mapping allowing to have multiple mappings of the same type with different configurations.&lt;br /&gt;&lt;br /&gt;e.g. Mapper.CreateMap&amp;#60;Order, OrderDto&amp;#62;&amp;#40;&amp;#34;OrderMapping&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;I see a lot of value in that especially in combination with the Ignore configuration.&lt;br /&gt;&lt;br /&gt;In one of my projects I currently implemented my own mapper which maps nested objects based on input parameters. Some of my service requests allow the consumer to specify whether nested collections are loaded. For example in one instance a consumer wants to load a collection of orders without having the details such as the products attached. In an other instance the consumer may want to retrieve orders with associated products. The mapping for both cases would be of the same type but the Ignore configuration would be different.&lt;br /&gt;&lt;br /&gt;This is similar to unity where you can configure a type and a name to distinguish between various type configurations of the same type. &amp;#58;&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: arfanbaig ** &lt;p&gt;&amp;#64;jbogard, is this Multiple mapping functionality able now in the Automapper&amp;#63;&lt;/p&gt;</description><author>arfanbaig</author><pubDate>Tue, 11 Oct 2011 13:53:34 GMT</pubDate><guid isPermaLink="false">Commented Issue: Multiple mappings for the same type [4036] 20111011015334P</guid></item><item><title>Reviewed: 1.1 RTW (Sep 07, 2011)</title><link>http://automapper.codeplex.com/releases/view/44802#ReviewBy-jrnail23</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Extremely flexible &amp;#38; powerful</description><author>jrnail23</author><pubDate>Wed, 07 Sep 2011 17:42:53 GMT</pubDate><guid isPermaLink="false">Reviewed: 1.1 RTW (Sep 07, 2011) 20110907054253P</guid></item><item><title>Created Issue: DO NOT CREATE ANY NEW WORK ITEMS - CREATE THEM ON GITHUB [7125]</title><link>http://automapper.codeplex.com/workitem/7125</link><description>AutoMapper and its issue tracking have moved to GitHub&amp;#58;&lt;br /&gt;&lt;br /&gt;https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;br /&gt;&lt;br /&gt;Create them there. I will not track anything on this site any more.&lt;br /&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:51:32 GMT</pubDate><guid isPermaLink="false">Created Issue: DO NOT CREATE ANY NEW WORK ITEMS - CREATE THEM ON GITHUB [7125] 20110902105132P</guid></item><item><title>Closed Issue: NestedMappings don't work properly when nested type is Array(or Collection) [2267]</title><link>http://automapper.codeplex.com/workitem/2267</link><description>Nested mappings are not taken into consideration when they are arrays or collections.&lt;br /&gt;See attached modified your unit test.&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:51 GMT</pubDate><guid isPermaLink="false">Closed Issue: NestedMappings don't work properly when nested type is Array(or Collection) [2267] 20110902104751P</guid></item><item><title>Closed Issue: Rev. 141 breaks nested mappings [3986]</title><link>http://automapper.codeplex.com/workitem/3986</link><description>Changes in rev. 141 in Configuration.cs break nested mapping when base class is used. See attached unit test.&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:49 GMT</pubDate><guid isPermaLink="false">Closed Issue: Rev. 141 breaks nested mappings [3986] 20110902104749P</guid></item><item><title>Closed Issue: Allow flattening of collection items [3332]</title><link>http://automapper.codeplex.com/workitem/3332</link><description>Right now flattening only works for non-collection types.  If I have a source type of&amp;#58;&lt;br /&gt;&lt;br /&gt;class Product&lt;br /&gt;&amp;#123;&lt;br /&gt;  public string Name &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;I can&amp;#39;t do something like this&amp;#58;&lt;br /&gt;&lt;br /&gt;class Catalog&lt;br /&gt;&amp;#123;&lt;br /&gt;    IEnumerable&amp;#60;Product&amp;#62; GetProducts&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;class CatalogDto&lt;br /&gt;&amp;#123;&lt;br /&gt;   public string&amp;#91;&amp;#93; ProductsName &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:47 GMT</pubDate><guid isPermaLink="false">Closed Issue: Allow flattening of collection items [3332] 20110902104747P</guid></item><item><title>Closed Issue: Map using constructor instead of properties [4025]</title><link>http://automapper.codeplex.com/workitem/4025</link><description>In some cases the type I&amp;#39;m mapping to may have private setters, and I might want to map my src to constructor parameters instead. &lt;br /&gt;1&amp;#41; Is that even advisable, and am I not thinking about this correctly&lt;br /&gt;2&amp;#41; How would I do that&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Jeff&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:46 GMT</pubDate><guid isPermaLink="false">Closed Issue: Map using constructor instead of properties [4025] 20110902104746P</guid></item><item><title>Closed Issue: Support implicit/explicit conversion operators [3727]</title><link>http://automapper.codeplex.com/workitem/3727</link><description>Support implicit&amp;#47;explicit conversion operators, ideally without any extra configuration steps.  Support these in testing mappings as well.&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:44 GMT</pubDate><guid isPermaLink="false">Closed Issue: Support implicit/explicit conversion operators [3727] 20110902104744P</guid></item><item><title>Closed Issue: AssertConfigurationIsValid false positives after .ForAllMembers(opt =&gt; opt.Ignore()); [4300]</title><link>http://automapper.codeplex.com/workitem/4300</link><description>Automapper.AssertConfigurationIsValid reports missing mappings after all members are set to ignore.&lt;br /&gt;&lt;br /&gt;&amp;#40;See unittest below&amp;#41;&lt;br /&gt;------------------------------------&lt;br /&gt;using NUnit.Framework&amp;#59;&lt;br /&gt;&lt;br /&gt;namespace AutoMapper.UnitTests.Bug&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#91;TestFixture&amp;#93;&lt;br /&gt;    public class AssertConfigIsValid&lt;br /&gt;    &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;private class ModelObjectNotMatching&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public string Foo_notfound &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;                        public string Bar_notfound&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;private class ModelDto&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public string Foo &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public string Bar&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#91;Test&amp;#93;&lt;br /&gt;        &amp;#47;&amp;#47; &amp;#91;Ignore&amp;#40;&amp;#34;maybe bug. Posted to codeplex-forum 22.4.2010&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        public void ForAllIgnore&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;&amp;#9;    Mapper.CreateMap&amp;#60;ModelObjectNotMatching, ModelDto&amp;#62;&amp;#40;&amp;#41;&lt;br /&gt;                .ForAllMembers&amp;#40;opt &amp;#61;&amp;#62; opt.Ignore&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;            Mapper.AssertConfigurationIsValid&amp;#40;&amp;#41;&amp;#59; &amp;#47;&amp;#47; should not fail&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:42 GMT</pubDate><guid isPermaLink="false">Closed Issue: AssertConfigurationIsValid false positives after .ForAllMembers(opt =&gt; opt.Ignore()); [4300] 20110902104742P</guid></item><item><title>Closed Issue: MapFrom return null when AllowDestinationNullValues is false [4346]</title><link>http://automapper.codeplex.com/workitem/4346</link><description>MapFrom return null and not invoke the mapper for the property when property value is null and AllowDestinationNullValues is false&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:40 GMT</pubDate><guid isPermaLink="false">Closed Issue: MapFrom return null when AllowDestinationNullValues is false [4346] 20110902104740P</guid></item><item><title>Closed Issue: UsingConvert configuration dose not work [4838]</title><link>http://automapper.codeplex.com/workitem/4838</link><description>For mapping database side objects to dto objects, I am using auto mapper. these two kind of objects are in independent projects and the project witch contains dto objects has a reference to another project. I dont have any problem with mapping real objects to dtos. but in a special case ,the real object has some relations to the other objects and dto object should flatten it, then I have to use &amp;#34;using Convert&amp;#34; method, but it seems that this configuration wont work if I use it in dto project and I have to reconfigure it in the other project. how can I solve this prpoblem without reconfiguring mapping &amp;#63;&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:39 GMT</pubDate><guid isPermaLink="false">Closed Issue: UsingConvert configuration dose not work [4838] 20110902104739P</guid></item><item><title>Closed Issue: Multithreading support [3197]</title><link>http://automapper.codeplex.com/workitem/3197</link><description>There is no support for multithreading work now as I see. I think it would be good desing choose to redevelop from static objects to non-static objects, like&amp;#58;&lt;br /&gt;MapperInstance mapper &amp;#61; Mapper.CreateMapper&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;mapper.CreateMap&amp;#60;TA, TB&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;.....&lt;br /&gt;var result &amp;#61; mapper.Map&amp;#60;TA, TB&amp;#62;&amp;#40;source&amp;#41;&amp;#59;&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:37 GMT</pubDate><guid isPermaLink="false">Closed Issue: Multithreading support [3197] 20110902104737P</guid></item><item><title>Closed Issue: Unit tests not executed after adding reference to AutoMapper (resolved) [4986]</title><link>http://automapper.codeplex.com/workitem/4986</link><description>Why are all my Visual Studio test results &amp;#8220;Not executed&amp;#8221; &amp;#58; http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;525578&amp;#47;why-are-all-my-visual-studio-test-results-not-executed&lt;br /&gt;&lt;br /&gt;-----&lt;br /&gt;&lt;br /&gt;This is not really a bug but rather a request for assistance. I am trying to follow the tutorial &amp;#34;The Big Boy MVC Series&amp;#34; &amp;#40;http&amp;#58;&amp;#47;&amp;#47;www.weirdlover.com&amp;#47;2010&amp;#47;07&amp;#47;01&amp;#47;the-big-boy-mvc-series-part-22-whoop&amp;#47;&amp;#41;.&lt;br /&gt;&lt;br /&gt;In part 22, step 5, we have to add a reference to AutoMapper. What I did in the two projects &amp;#40;Web &amp;#38; Test&amp;#41; . But immediatly after that, all my unit tests do not run any more. As you can see, they don&amp;#39;t fail, they are just &amp;#34;Not Executed&amp;#34; &amp;#58; http&amp;#58;&amp;#47;&amp;#47;twitpic.com&amp;#47;21p30v&lt;br /&gt;&lt;br /&gt;Features of my solution&amp;#58;&lt;br /&gt;- MVC 2&lt;br /&gt;- ASP.NET 3.5&lt;br /&gt;- Visual Studio 2008 in French&lt;br /&gt;- AutoMapper.dll&amp;#58; 1.1.0.188&lt;br /&gt;&lt;br /&gt;Does anyone has had this kind of problem&amp;#63;&lt;br /&gt;&lt;br /&gt;Merci.&lt;br /&gt;Michel&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:35 GMT</pubDate><guid isPermaLink="false">Closed Issue: Unit tests not executed after adding reference to AutoMapper (resolved) [4986] 20110902104735P</guid></item><item><title>Closed Issue: Mapper.Map&lt;IEnumerable&lt;string&gt;, List&lt;int&gt;&gt;(values) [5353]</title><link>http://automapper.codeplex.com/workitem/5353</link><description>The following sample outputs the following&amp;#58;&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;run&lt;br /&gt;run&lt;br /&gt;1&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;&lt;br /&gt;This output is not expected. It is expected that the following would be written&amp;#58;&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;run&lt;br /&gt;1&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;&lt;br /&gt;There is some sort of bug where the IEnumerable&amp;#60;T&amp;#62; is called twice but not returning its values twice. It is expected that the the IEnumerable&amp;#60;T&amp;#62; source is executed just once.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;namespace AutoMapperBug&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;using System&amp;#59;&lt;br /&gt;&amp;#9;using System.Collections.Generic&amp;#59;&lt;br /&gt;&lt;br /&gt;    class Program&lt;br /&gt;    &amp;#123;&lt;br /&gt;        static void Main&amp;#40;string&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;AutoMapper.Mapper.CreateMap&amp;#60;string, int&amp;#62;&amp;#40;&amp;#41;.ConvertUsing&amp;#40;src &amp;#61;&amp;#62; Convert.ToInt32&amp;#40;src&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;var values &amp;#61; GetTestValues&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            List&amp;#60;int&amp;#62; result &amp;#61; AutoMapper.Mapper.Map&amp;#60;IEnumerable&amp;#60;string&amp;#62;, List&amp;#60;int&amp;#62;&amp;#62;&amp;#40;values&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            foreach &amp;#40;int i in result&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                Console.WriteLine&amp;#40;i&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        static IEnumerable&amp;#60;string&amp;#62; GetTestValues&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Console.WriteLine&amp;#40;&amp;#34;run&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            yield return &amp;#34;1&amp;#34;&amp;#59;&lt;br /&gt;            yield return &amp;#34;2&amp;#34;&amp;#59;&lt;br /&gt;            yield return &amp;#34;3&amp;#34;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:34 GMT</pubDate><guid isPermaLink="false">Closed Issue: Mapper.Map&lt;IEnumerable&lt;string&gt;, List&lt;int&gt;&gt;(values) [5353] 20110902104734P</guid></item><item><title>Closed Issue: Name-based EnumMapping doesn't work out-of-the-box [5538]</title><link>http://automapper.codeplex.com/workitem/5538</link><description>enum One &amp;#123; Red &amp;#61; 3, Green &amp;#61; 5 &amp;#125;&lt;br /&gt;enum Two &amp;#123; Green &amp;#61; 3, Red &amp;#61; 5 &amp;#125;  &amp;#47;&amp;#47; Same names, different values&lt;br /&gt;&lt;br /&gt;Mapper.CreateMap&amp;#60;One, Two&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;Mapper.Map&amp;#60;One, Two&amp;#62;&amp;#40;One.Green&amp;#41;.AssertIsEqualTo&amp;#40;Two.Green&amp;#41;&amp;#59;  &amp;#47;&amp;#47; Fails&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47; Keep EnumMapper only&amp;#58;&lt;br /&gt;Mapper.Reset&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;MapperRegistry.AllMappers &amp;#61; &amp;#40;&amp;#41; &amp;#61;&amp;#62; new IObjectMapper&amp;#91;&amp;#93; &amp;#123; new EnumMapper&amp;#40;&amp;#41; &amp;#125;&amp;#59;&lt;br /&gt;Mapper.Map&amp;#60;One, Two&amp;#62;&amp;#40;One.Green&amp;#41;.AssertIsEqualTo&amp;#40;Two.Green&amp;#41;&amp;#59;  &amp;#47;&amp;#47; Succeeds&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:32 GMT</pubDate><guid isPermaLink="false">Closed Issue: Name-based EnumMapping doesn't work out-of-the-box [5538] 20110902104732P</guid></item><item><title>Closed Issue: Searching for an aggregation example [5588]</title><link>http://automapper.codeplex.com/workitem/5588</link><description>Can anyone point me to a good aggregation example&amp;#63;&lt;br /&gt;&lt;br /&gt;In particular, I want to go from a flat structure, to a modified deep structure.  All the projection examples deep with deep structures to flat structures.&lt;br /&gt;&lt;br /&gt;In this case, given a list of PricingItem objects, I want a list of ViewCategories with multiple ViewItems under it.  It&amp;#39;s an aggregation&amp;#47;coalation problem. &lt;br /&gt;&lt;br /&gt;Say I have a source PricingItem class that looks like this&amp;#58;&lt;br /&gt;&lt;br /&gt;public class PricingItem&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public int Id &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        public CategoryType Category &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        public int Value &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;And I have an associated ViewCategory that is an aggegation by CategoryType as determined by the source PricingItem.&lt;br /&gt;&lt;br /&gt;    public class ViewCategory&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public CategoryType Category &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        public IEnumerable&amp;#60;ViewItem&amp;#62; ViewItems &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;    public class ViewItem&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public int Id &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;        public int Value &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;Thank you,&lt;br /&gt;-Steve&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:30 GMT</pubDate><guid isPermaLink="false">Closed Issue: Searching for an aggregation example [5588] 20110902104730P</guid></item><item><title>Closed Issue: Support open generic types [4134]</title><link>http://automapper.codeplex.com/workitem/4134</link><description>So that this would work instead of throwing ExecutionEngineException&amp;#58;&lt;br /&gt;Mapper.CreateMap&amp;#40; typeof&amp;#40; Foo&amp;#60;&amp;#62; &amp;#41;, typeof&amp;#40; FooDto&amp;#60;&amp;#62; &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;var dto &amp;#61; Mapper.Map&amp;#60;Foo&amp;#60;string&amp;#62;,FooDto&amp;#60;string&amp;#62;&amp;#62;&amp;#40;new Foo&amp;#60;string&amp;#62;&amp;#40;  &amp;#34;a&amp;#34; &amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;Comments: &lt;p&gt;All issues moved to GitHub https&amp;#58;&amp;#47;&amp;#47;github.com&amp;#47;AutoMapper&amp;#47;AutoMapper&amp;#47;issues&lt;/p&gt;</description><author>jbogard</author><pubDate>Fri, 02 Sep 2011 22:47:28 GMT</pubDate><guid isPermaLink="false">Closed Issue: Support open generic types [4134] 20110902104728P</guid></item></channel></rss>
