<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.ormfoundation.org/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Open Discussion &amp; Feature Requests</title><link>http://www.ormfoundation.org/forums/10.aspx</link><description>This is where you can discuss your suggestions for functions that are not provided by the current release of the NORMA tool. You can also ask questions on how to use the tool.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Re: Equality constraints and their effect in relational models</title><link>http://www.ormfoundation.org/forums/thread/2867.aspx</link><pubDate>Sat, 19 Nov 2011 00:15:02 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:2867</guid><dc:creator>Ken Evans</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/2867.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=2867</wfw:commentRss><description>&lt;p&gt;Hello Jose,&lt;/p&gt;
&lt;p&gt;Here is an example of an equality constraint that I have taken from page 225 of Terry&amp;#39;s book.&lt;br /&gt;I would have thought that this constraint would generate some additional DDL but my tests show that the DDL is the same with and without the constraint. I have asked Matt to comment.&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Equality constraints and their effect in relational models</title><link>http://www.ormfoundation.org/forums/thread/2866.aspx</link><pubDate>Fri, 18 Nov 2011 21:49:25 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:2866</guid><dc:creator>josecarlus</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/2866.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=2866</wfw:commentRss><description>&lt;p&gt;Hi,&lt;img border="0" alt="" width="1" height="1" /&gt;&lt;img border="0" alt="" width="1" height="1" /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to know if an equality constraint&amp;nbsp;in an ORM model&amp;nbsp;has any effect over its relational view or if it only has an informational role. &lt;/p&gt;
&lt;p&gt;I have a model which I&amp;#39;ve attached to this post.&amp;nbsp;In the Asset_Movement table&amp;nbsp;I&amp;#39;m getting two columns:&lt;/p&gt;
&lt;p&gt;FK1: asset_Account_Asset_Sym&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;FK2: asset_Sym&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;but these columns should be only one because their values must be equal. I though that the equality constraint could enforce this but nothing is happening.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like if someone could help me with this. I&amp;#39;d also appreciate if someone could&amp;nbsp;point me out to an example showing the&amp;nbsp;usage of an equality constraint. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jose Carlos&lt;/p&gt;</description></item></channel></rss>