<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Entity framework 4 &#8211; Part 5 &#8211; Validation using Data Annotations</title>
	<atom:link href="http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/</link>
	<description>Love what you do - Continue to do it - Be eager to learn more about it.</description>
	<lastBuildDate>Tue, 24 Jan 2012 07:50:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Arjen den Hartog</title>
		<link>http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/#comment-555</link>
		<dc:creator><![CDATA[Arjen den Hartog]]></dc:creator>
		<pubDate>Fri, 10 Dec 2010 11:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.wertheim.se/?p=108#comment-555</guid>
		<description><![CDATA[It seems that only the RequiredAttribute is validated when Validator.TryValidateObject(entity, vc, validationResults) is called.

To validate all properties call  Validator.TryValidateObject(entity, vc, validationResults, TRUE)]]></description>
		<content:encoded><![CDATA[<p>It seems that only the RequiredAttribute is validated when Validator.TryValidateObject(entity, vc, validationResults) is called.</p>
<p>To validate all properties call  Validator.TryValidateObject(entity, vc, validationResults, TRUE)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Wertheim</title>
		<link>http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/#comment-191</link>
		<dc:creator><![CDATA[Daniel Wertheim]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 19:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.wertheim.se/?p=108#comment-191</guid>
		<description><![CDATA[I haven&#039;t looked in to this, I would check this with Julie Lerman: http://thedatafarm.com/blog/

//Daniel]]></description>
		<content:encoded><![CDATA[<p>I haven&#8217;t looked in to this, I would check this with Julie Lerman: <a href="http://thedatafarm.com/blog/" rel="nofollow">http://thedatafarm.com/blog/</a></p>
<p>//Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shimmy</title>
		<link>http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/#comment-190</link>
		<dc:creator><![CDATA[Shimmy]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 15:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.wertheim.se/?p=108#comment-190</guid>
		<description><![CDATA[I am using EF to generate the model, no POCOs.
Is there a way I can wire it up with DataAnnotations as well, e.g. by using Metadata classes etc. with WPF?]]></description>
		<content:encoded><![CDATA[<p>I am using EF to generate the model, no POCOs.<br />
Is there a way I can wire it up with DataAnnotations as well, e.g. by using Metadata classes etc. with WPF?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EL Guapo</title>
		<link>http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/#comment-93</link>
		<dc:creator><![CDATA[EL Guapo]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 18:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.wertheim.se/?p=108#comment-93</guid>
		<description><![CDATA[You want the rules in the domain, but the rules in fact are in the database. Your column has a maximum width. Your column has a definition of whether it is nullable or not. You may choose to write your own rules in your domain and pretend that&#039;s all you have to do, but then you are responsible for making sure they are in sync with  the database. Sounds like work to me.

You said it is possible to generate the data annotations... how so? I do not see how it is done.]]></description>
		<content:encoded><![CDATA[<p>You want the rules in the domain, but the rules in fact are in the database. Your column has a maximum width. Your column has a definition of whether it is nullable or not. You may choose to write your own rules in your domain and pretend that&#8217;s all you have to do, but then you are responsible for making sure they are in sync with  the database. Sounds like work to me.</p>
<p>You said it is possible to generate the data annotations&#8230; how so? I do not see how it is done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Wertheim</title>
		<link>http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/#comment-91</link>
		<dc:creator><![CDATA[Daniel Wertheim]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 17:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.wertheim.se/?p=108#comment-91</guid>
		<description><![CDATA[Yes it&#039;s possible but Why should they be generated? I like to define my conceptual model of the domain in the code, and that&#039;s where I want the rules.

//Daniel]]></description>
		<content:encoded><![CDATA[<p>Yes it&#8217;s possible but Why should they be generated? I like to define my conceptual model of the domain in the code, and that&#8217;s where I want the rules.</p>
<p>//Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EL Guapo</title>
		<link>http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/#comment-89</link>
		<dc:creator><![CDATA[EL Guapo]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 14:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.wertheim.se/?p=108#comment-89</guid>
		<description><![CDATA[Why can&#039;t the EF generate the validation data annotations for you? Required and max length are determined by the DB and known by EF and should be generated!]]></description>
		<content:encoded><![CDATA[<p>Why can&#8217;t the EF generate the validation data annotations for you? Required and max length are determined by the DB and known by EF and should be generated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Entity validaton using Custom Data Annotation attributes &#171; Daniel Wertheim</title>
		<link>http://daniel.wertheim.se/2009/11/18/entity-framework-4-part-5-validation-using-dataannotations/#comment-12</link>
		<dc:creator><![CDATA[Entity validaton using Custom Data Annotation attributes &#171; Daniel Wertheim]]></dc:creator>
		<pubDate>Thu, 19 Nov 2009 23:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.wertheim.se/?p=108#comment-12</guid>
		<description><![CDATA[[...] Contact          &#171; Entity framework 4 &#8211; Part 5 &#8211; Validation using Data&#160;Annotations [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Contact          &laquo; Entity framework 4 &#8211; Part 5 &#8211; Validation using Data&nbsp;Annotations [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

