tag:blogger.com,1999:blog-5655180.post1248994626517646215..comments2024-03-16T18:06:30.621+00:00Comments on <a href="http://www.daddycode.com">DaddyCode</a> Team Blog: ValueInjecter - matching nullable to non-nullable valuesJames McCormackhttp://www.blogger.com/profile/02802202320696705884noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5655180.post-62608681268194372182012-10-10T05:17:10.762+01:002012-10-10T05:17:10.762+01:00Thank you as well.
Even though writing this commen...Thank you as well.<br />Even though writing this comment, you still saved me some minutes :)Stevehttp://www.hhz.ch/wordpress/noreply@blogger.comtag:blogger.com,1999:blog-5655180.post-6391483041964673732012-09-26T03:29:37.555+01:002012-09-26T03:29:37.555+01:00Works perfectly, thank you very much for sharing!Works perfectly, thank you very much for sharing!Anonymoushttps://www.blogger.com/profile/07369629855730008863noreply@blogger.comtag:blogger.com,1999:blog-5655180.post-69337909834592912722012-08-10T03:43:05.280+01:002012-08-10T03:43:05.280+01:00Fantastic! I created a more powerful version to co...Fantastic! I created a more powerful version to convert zero value of nullable foreign key of my view model into my model in null value.<br /><br />Here is a preview:<br /><br /> protected override bool Match(ConventionInfo c)<br /> {<br /> _convertToNull = false;<br /><br /> if (c.SourceProp.Name == c.TargetProp.Name)<br /> {<br /> if (Samuelhttps://www.blogger.com/profile/18140931118197628245noreply@blogger.comtag:blogger.com,1999:blog-5655180.post-74061680689519020772012-03-14T02:13:42.254+00:002012-03-14T02:13:42.254+00:00Nicely done...thanks! Perfectly solved the issue ...Nicely done...thanks! Perfectly solved the issue I was running into.Anonymousnoreply@blogger.com