<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ULinqGen Forum Rss Feed</title><link>http://www.codeplex.com/ULinqGen/Thread/List.aspx</link><description>ULinqGen Forum Rss Description</description><item><title>New Post: Relationship Foreign Key Errors</title><link>http://ulinqgen.codeplex.com/Thread/View.aspx?ThreadId=78417</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I tried your generator but this don't creates the DataContext!&lt;/p&gt;
&lt;p&gt;[EDITED]&lt;/p&gt;
&lt;p&gt;I copied the generated DataContext from MS generator and used it in your file...Select is working.,&lt;/p&gt;
&lt;p&gt;I'm having dificulties though with Updates and Inserts, something about the keys of my Tables.&lt;/p&gt;
&lt;p&gt;&amp;quot;An attempt was made to remove a relationship between a &amp;quot;Table-Object&amp;quot; and a &amp;quot;Table-Object&amp;quot;. However, one of the relationship's foreign keys (&amp;quot;Key&amp;quot;) cannot be set to null.&amp;quot; &amp;lt;-- it is not null though!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help?&lt;/p&gt;&lt;/div&gt;</description><author>gtas</author><pubDate>Thu, 17 Dec 2009 09:08:54 GMT</pubDate><guid isPermaLink="false">New Post: Relationship Foreign Key Errors 20091217090854A</guid></item><item><title>New Post: T4 Templates?</title><link>http://ulinqgen.codeplex.com/Thread/View.aspx?ThreadId=38224</link><description>&lt;div style="line-height: normal;"&gt;To be honest, we haven't consider using T4 templates when ULinqGen was been developed, they are a very good choice, actually they say Entity Framework is going to support T4 templates in v2.&lt;br&gt;
&lt;br&gt;
Without having analyzed this further, the only drawback I can see of T4 templates, against the current ULinqGen implementation, which uses CodeDOM, is that CodeDOM is language independent.&lt;br&gt;
Using T4 templates will force you to write a T4 template for every language you choose to support, and on future changes in the language syntax you may need to update the templates.&lt;br&gt;
However T4 templates are a lot much easier to write and specially to read, than CodeDOM code.
&lt;/div&gt;</description><author>benjamine</author><pubDate>Mon, 06 Apr 2009 12:19:44 GMT</pubDate><guid isPermaLink="false">New Post: T4 Templates? 20090406121944P</guid></item><item><title>New Post: T4 Templates?</title><link>http://www.codeplex.com/ULinqGen/Thread/View.aspx?ThreadId=38224</link><description>&lt;div style="line-height: normal;"&gt;What would be involved to have the code generated by T4 templates to allow for easier end user customization instead of having it hard-coded?&lt;br&gt;
&lt;br&gt;
Great project, by the way.&lt;br&gt;
&lt;/div&gt;</description><author>mnurre</author><pubDate>Wed, 22 Oct 2008 03:30:27 GMT</pubDate><guid isPermaLink="false">New Post: T4 Templates? 20081022033027A</guid></item><item><title>New Post: Insert failed when associated property is null?</title><link>http://www.codeplex.com/ULinqGen/Thread/View.aspx?ThreadId=31139</link><description>&lt;div style="line-height: normal;"&gt;Currently I'm trying to implement LINQ to SQL with POCO way, so I use ULINQGen to help generate the POCOs, it's great for most of search requirements, but I just met a scenario like this, it's based on Northinwind in your test application:&lt;br&gt;
&lt;br&gt;
Order_Detail od = new Order_Detail();&lt;br&gt;
od.OrderId = xxx;&lt;br&gt;
od.UnitPrice = 100;&lt;br&gt;
//set value for other properties&lt;br&gt;
&lt;br&gt;
DataContextInstance.Order_Details.InsertOnSubmit(od);&lt;br&gt;
DataContextInstance.SubmitChanges();&lt;br&gt;
&lt;br&gt;
this kind of codes will not work as what i expected, an exception will be throw out. And event if i tried to assign a new instance to Order_Details' Order property, DataContext somehow will also try to add new Order to database too, then an primary key conflict ocurred, that's weired. To make everything works, I need to have a nullable OrderId,&amp;nbsp; but it's not a real good idea, because it brings difference between database schema and domain entity. Any comments about this?&lt;br&gt;
&lt;/div&gt;</description><author>mmkk</author><pubDate>Wed, 09 Jul 2008 08:30:56 GMT</pubDate><guid isPermaLink="false">New Post: Insert failed when associated property is null? 20080709083056A</guid></item></channel></rss>