{"action":"created","issue":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1256","repository_url":"https://api.github.com/repos/AutoMapper/AutoMapper","labels_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1256/labels{/name}","comments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1256/comments","events_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1256/events","html_url":"https://github.com/AutoMapper/AutoMapper/issues/1256","id":152914730,"number":1256,"title":"Calculated properties interfering with each other","user":{"login":"levitatejay","id":13340760,"avatar_url":"https://avatars.githubusercontent.com/u/13340760?v=3","gravatar_id":"","url":"https://api.github.com/users/levitatejay","html_url":"https://github.com/levitatejay","followers_url":"https://api.github.com/users/levitatejay/followers","following_url":"https://api.github.com/users/levitatejay/following{/other_user}","gists_url":"https://api.github.com/users/levitatejay/gists{/gist_id}","starred_url":"https://api.github.com/users/levitatejay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levitatejay/subscriptions","organizations_url":"https://api.github.com/users/levitatejay/orgs","repos_url":"https://api.github.com/users/levitatejay/repos","events_url":"https://api.github.com/users/levitatejay/events{/privacy}","received_events_url":"https://api.github.com/users/levitatejay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-04T02:05:32Z","updated_at":"2016-05-04T03:44:46Z","closed_at":null,"body":"Starting a new project in .NET Core with EF7... I have the following configuration in my Startup.cs:\r\n\r\n`                config.CreateMap<Product, ProductPartialDto>()\r\n                    .ForMember(dto => dto.CustomerCount, opt => opt.MapFrom(src => src.LicenceProducts.Count))\r\n                    .ForMember(dto => dto.UserCount, opt => opt.MapFrom(src => src.ProductUsers.Count))\r\n                    .ReverseMap();`\r\n\r\nWhen I use projection both properties (UserCount & CustomerCount) are set to whichever rule is last in the chain in the fluent syntax...\r\n\r\nSo for example if the CustomerCount map rule is after the UserCount map rule then both CustomerCount & UserCount will equal CustomerCount for every mapped entity."},"comment":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/comments/216734536","html_url":"https://github.com/AutoMapper/AutoMapper/issues/1256#issuecomment-216734536","issue_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1256","id":216734536,"user":{"login":"levitatejay","id":13340760,"avatar_url":"https://avatars.githubusercontent.com/u/13340760?v=3","gravatar_id":"","url":"https://api.github.com/users/levitatejay","html_url":"https://github.com/levitatejay","followers_url":"https://api.github.com/users/levitatejay/followers","following_url":"https://api.github.com/users/levitatejay/following{/other_user}","gists_url":"https://api.github.com/users/levitatejay/gists{/gist_id}","starred_url":"https://api.github.com/users/levitatejay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levitatejay/subscriptions","organizations_url":"https://api.github.com/users/levitatejay/orgs","repos_url":"https://api.github.com/users/levitatejay/repos","events_url":"https://api.github.com/users/levitatejay/events{/privacy}","received_events_url":"https://api.github.com/users/levitatejay/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T03:44:46Z","updated_at":"2016-05-04T03:44:46Z","body":"Sorry I should have specified. This happens when using projection. I'm unable to test with EF6 at the moment."}}