{"action":"created","issue":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1233","repository_url":"https://api.github.com/repos/AutoMapper/AutoMapper","labels_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1233/labels{/name}","comments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1233/comments","events_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1233/events","html_url":"https://github.com/AutoMapper/AutoMapper/issues/1233","id":148667766,"number":1233,"title":"4.2.1 ProjectTo - not mapping DateTime.Kind property?","user":{"login":"lisamariet","id":5948299,"avatar_url":"https://avatars.githubusercontent.com/u/5948299?v=3","gravatar_id":"","url":"https://api.github.com/users/lisamariet","html_url":"https://github.com/lisamariet","followers_url":"https://api.github.com/users/lisamariet/followers","following_url":"https://api.github.com/users/lisamariet/following{/other_user}","gists_url":"https://api.github.com/users/lisamariet/gists{/gist_id}","starred_url":"https://api.github.com/users/lisamariet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lisamariet/subscriptions","organizations_url":"https://api.github.com/users/lisamariet/orgs","repos_url":"https://api.github.com/users/lisamariet/repos","events_url":"https://api.github.com/users/lisamariet/events{/privacy}","received_events_url":"https://api.github.com/users/lisamariet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-15T13:56:44Z","updated_at":"2016-04-15T14:57:10Z","closed_at":null,"body":"I have a case where I have a collection with DateTime properties that has DateTime.Kind = UTC.\r\n\r\nWhen I do ProjectTo<myModelType>(myEntityCollection) the new returned IQueriable<myModelType> has DateTime properties with DateTime.Kind = Unspecified. And this is causing headaches. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/comments/210493101","html_url":"https://github.com/AutoMapper/AutoMapper/issues/1233#issuecomment-210493101","issue_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/1233","id":210493101,"user":{"login":"jbogard","id":104498,"avatar_url":"https://avatars.githubusercontent.com/u/104498?v=3","gravatar_id":"","url":"https://api.github.com/users/jbogard","html_url":"https://github.com/jbogard","followers_url":"https://api.github.com/users/jbogard/followers","following_url":"https://api.github.com/users/jbogard/following{/other_user}","gists_url":"https://api.github.com/users/jbogard/gists{/gist_id}","starred_url":"https://api.github.com/users/jbogard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbogard/subscriptions","organizations_url":"https://api.github.com/users/jbogard/orgs","repos_url":"https://api.github.com/users/jbogard/repos","events_url":"https://api.github.com/users/jbogard/events{/privacy}","received_events_url":"https://api.github.com/users/jbogard/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T14:57:10Z","updated_at":"2016-04-15T14:57:10Z","body":"Mapper.Map goes from EF -> Entity -> DTO. ProjectTo goes from EF -> LINQ Select -> DTO. Have you tried taking AutoMapper out of the equation and writing a Select LINQ projection yourself, in place of ProjectTo? This is what @lbargaoanu was saying. EF might not support what you're trying to do, so to troubleshoot I take AutoMapper out and do a hand-mapping in LINQ:\r\n\r\n```\r\ndbContext.Products.Select(p => new ProductDto { Name = p.Name, /* etc */ }\r\n```\r\n\r\nTry doing that, using LINQ."}}