<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ULinqGen Work Item Rss Feed</title><link>http://www.codeplex.com/ULinqGen/WorkItem/List.aspx</link><description>ULinqGen Work Item Rss Description</description><item><title>Created Issue: Command line access?</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=2481</link><description>Hi there. I&amp;#39;d like to run your tool from the command line to fit in with my method of scripting changes to dbml files &amp;#40;see http&amp;#58;&amp;#47;&amp;#47;www.adverseconditionals.com&amp;#47;2008&amp;#47;05&amp;#47;introducing-linqtodbmlrunner.html&amp;#41;. Is this possible&amp;#63;&lt;br /&gt;</description><author>mcintyre321</author><pubDate>Thu, 19 Jun 2008 11:10:39 GMT</pubDate><guid isPermaLink="false">Created Issue: Command line access? 20080619111039A</guid></item><item><title>COMMENTED ISSUE: Feature requests</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1487</link><description>Guys, greate work. I hope you will keep it this way. I&amp;#39;ve just faced the same problems &lt;br /&gt;&lt;br /&gt;Some suggestions for the code generator&amp;#58;&lt;br /&gt;&lt;br /&gt;1. Avoid generating DbType, &amp;#38; Storage attributes to further reduce bloat.&lt;br /&gt;2. Generate private fields without preceding &amp;#34;_&amp;#34; and in camelCase .&lt;br /&gt;3. Add &amp;#91;Serializable&amp;#93; to the class, so it can be used with binaryFormatter &amp;#47; netdatacontract serializer.&lt;br /&gt;&lt;br /&gt;Not sure about thesee two, but just thoughts&amp;#58;&lt;br /&gt;&lt;br /&gt;4.  Keep INotifyPropertyChanged - for perfomance &amp;#38; ease of change tracking on client&amp;#63;&lt;br /&gt;5.  Keep the code that ensures object graph consistency&amp;#63; It&amp;#39;s a good thing&amp;#63; This could be done by using some kind of custom collection &amp;#40;possibly list or Collection&amp;#60;T&amp;#62; derivered&amp;#41;&lt;br /&gt;&lt;br /&gt;And the last one, just an idea&amp;#58;&lt;br /&gt;&lt;br /&gt;6. You can still provide lazy loading &amp;#40;when using custom collections&amp;#41; by reimplementing some kind of EntitySet &amp;#47; Ref and setting the source in a constructor. During serialization unloaded properties will return null &amp;#40;using the same trick as in LTS generated code&amp;#41; . I don&amp;#39;t get why microsoft didn&amp;#39;t do that. And this automatically will give lazy load on deserialized and attached entities.&lt;br /&gt;Comments: ** Comment from web user: benjamine ** &lt;p&gt;Thanks a lot, I&amp;#39;ll try to answer these points&amp;#58;&lt;/p&gt;&lt;p&gt;&amp;#42; We&amp;#39;re planning to add some type of configuration &amp;#40;e.g an optional xml associated to the .dbml&amp;#41; to allow specifying some of the things you propose &amp;#40;like change tracking&amp;#41;, but always opt-in.&lt;/p&gt;&lt;p&gt;1. We need these attributes, AFAIK DbType is required to support the CreateDatabase&amp;#40;&amp;#41; method, and we can cut that out. Storage tells the Linq Object Reader to set values directly on the private fields, bypassing the public setters &amp;#40;skipping &amp;#34;is modified&amp;#34; events&amp;#41;. This is not only for performance, but also to allow change tracking.&lt;/p&gt;&lt;p&gt;2. This is tecnichally posible, but we don&amp;#39;t wan&amp;#39;t to force everybody a different syntax than the standard MS Linq Generator, If we decide to implement this, we&amp;#39;ll make it configurable, and not the default.&lt;/p&gt;&lt;p&gt;3. If in the O&amp;#47;R Designer you choose Serialization Mode &amp;#61; &amp;#34;Unidirectional&amp;#34; the entities are decorated with &amp;#91;DataContract&amp;#93; and &amp;#91;DataMember&amp;#93; attributes, allowing them to be serialized with the NetDataContractSerializer, I haven&amp;#39;t tested binary serialization, but AFAIK System.Linq.Binary &amp;#40;Linq type for TIMESTAMP&amp;#41; isn&amp;#39;t Serializable &amp;#40;why&amp;#33;&amp;#63;&amp;#41;. If not, we should try to find a workaround.&lt;/p&gt;&lt;p&gt;4. This is another thing we want to be opt-in.&lt;/p&gt;&lt;p&gt;5. To allow change tracking we&amp;#39;re going to allow specification of a custom Collection&amp;#60;T&amp;#62; for associations, again, this will be opt-in, because we don&amp;#39;t want to tie this Custom Tool to a particular Change Tracking implementation.&lt;/p&gt;&lt;p&gt;6. Like in 5. we&amp;#39;re going to allow this by specifying your own Collection class.&lt;br /&gt;&amp;#40;But we won&amp;#39;t recommend this, mainly, because we don&amp;#39;t want entities accessing &amp;#40;and knowing how to access&amp;#33;&amp;#41; a database or web service, and in a silent way. We prefer to make every access to the Dal, explicit.&amp;#41;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;I&amp;#39;ll further discuss this subjects with my teammates, and we&amp;#39;ll apreciate any comments&amp;#33;&lt;/p&gt;&lt;p&gt;Kind Regards&amp;#33;&lt;/p&gt;</description><author>benjamine</author><pubDate>Wed, 07 May 2008 18:57:15 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Feature requests 20080507065715P</guid></item><item><title>COMMENTED ISSUE: A Reserved Word in SQL leaves the brackets in the generated Code.</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1460</link><description>I grabbed the code from the trunk yesterday afternoon.&lt;br /&gt;&lt;br /&gt;    &amp;#91;Table&amp;#40;Name&amp;#61;&amp;#34;dbo.List&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;    public partial class List&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;        private string _&amp;#91;Desc&amp;#93;&amp;#59;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;&amp;#91;Column&amp;#40;Name&amp;#61;&amp;#34;&amp;#91;Desc&amp;#93;&amp;#34;, Storage&amp;#61;&amp;#34;_&amp;#91;Desc&amp;#93;&amp;#34;, DbType&amp;#61;&amp;#34;VarChar&amp;#40;255&amp;#41;&amp;#34;, CanBeNull&amp;#61;true, UpdateCheck&amp;#61;UpdateCheck.Never&amp;#41;&amp;#93;&lt;br /&gt;        public string Desc&lt;br /&gt;        &amp;#123;&lt;br /&gt;            get&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return _&amp;#91;Desc&amp;#93;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            set&lt;br /&gt;            &amp;#123;&lt;br /&gt;                _&amp;#91;Desc&amp;#93; &amp;#61; value&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;    &amp;#125;&lt;br /&gt;Comments: ** Comment from web user: benjamine ** &lt;p&gt;Thanks for the feedback&amp;#33;, and sorry for the delay... now I&amp;#39;m subscribed to Issue Tracker RSS Feed &amp;#58;&amp;#41;&lt;/p&gt;</description><author>benjamine</author><pubDate>Wed, 07 May 2008 18:10:31 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: A Reserved Word in SQL leaves the brackets in the generated Code. 20080507061031P</guid></item><item><title>CLOSED ISSUE: A Reserved Word in SQL leaves the brackets in the generated Code.</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1460</link><description>I grabbed the code from the trunk yesterday afternoon.&lt;br /&gt;&lt;br /&gt;    &amp;#91;Table&amp;#40;Name&amp;#61;&amp;#34;dbo.List&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;    public partial class List&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;        private string _&amp;#91;Desc&amp;#93;&amp;#59;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;&amp;#91;Column&amp;#40;Name&amp;#61;&amp;#34;&amp;#91;Desc&amp;#93;&amp;#34;, Storage&amp;#61;&amp;#34;_&amp;#91;Desc&amp;#93;&amp;#34;, DbType&amp;#61;&amp;#34;VarChar&amp;#40;255&amp;#41;&amp;#34;, CanBeNull&amp;#61;true, UpdateCheck&amp;#61;UpdateCheck.Never&amp;#41;&amp;#93;&lt;br /&gt;        public string Desc&lt;br /&gt;        &amp;#123;&lt;br /&gt;            get&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return _&amp;#91;Desc&amp;#93;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            set&lt;br /&gt;            &amp;#123;&lt;br /&gt;                _&amp;#91;Desc&amp;#93; &amp;#61; value&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;    &amp;#125;&lt;br /&gt;</description><author>benjamine</author><pubDate>Wed, 07 May 2008 18:07:46 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: A Reserved Word in SQL leaves the brackets in the generated Code. 20080507060746P</guid></item><item><title>CREATED ISSUE: Feature requests</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1487</link><description>Guys, greate work. I hope you will keep it this way. I&amp;#39;ve just faced the same problems &lt;br /&gt;&lt;br /&gt;Some suggestions for the code generator&amp;#58;&lt;br /&gt;&lt;br /&gt;1. Avoid generating DbType, &amp;#38; Storage attributes to further reduce bloat.&lt;br /&gt;2. Generate private fields without preceding &amp;#34;_&amp;#34; and in camelCase .&lt;br /&gt;3. Add &amp;#91;Serializable&amp;#93; to the class, so it can be used with binaryFormatter &amp;#47; netdatacontract serializer.&lt;br /&gt;&lt;br /&gt;Not sure about thesee two, but just thoughts&amp;#58;&lt;br /&gt;&lt;br /&gt;4.  Keep INotifyPropertyChanged - for perfomance &amp;#38; ease of change tracking on client&amp;#63;&lt;br /&gt;5.  Keep the code that ensures object graph consistency&amp;#63; It&amp;#39;s a good thing&amp;#63; This could be done by using some kind of custom collection &amp;#40;possibly list or Collection&amp;#60;T&amp;#62; derivered&amp;#41;&lt;br /&gt;&lt;br /&gt;And the last one, just an idea&amp;#58;&lt;br /&gt;&lt;br /&gt;6. You can still provide lazy loading &amp;#40;when using custom collections&amp;#41; by reimplementing some kind of EntitySet &amp;#47; Ref and setting the source in a constructor. During serialization unloaded properties will return null &amp;#40;using the same trick as in LTS generated code&amp;#41; . I don&amp;#39;t get why microsoft didn&amp;#39;t do that. And this automatically will give lazy load on deserialized and attached entities.&lt;br /&gt;</description><author>agornik</author><pubDate>Sun, 23 Mar 2008 17:30:52 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Feature requests 20080323053052P</guid></item><item><title>CREATED ISSUE: A Reserved Word in SQL leaves the brackets in the generated Code.</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1460</link><description>I grabbed the code from the trunk yesterday afternoon.&lt;br /&gt;&lt;br /&gt;    &amp;#91;Table&amp;#40;Name&amp;#61;&amp;#34;dbo.List&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;    public partial class List&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;        private string _&amp;#91;Desc&amp;#93;&amp;#59;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;&amp;#91;Column&amp;#40;Name&amp;#61;&amp;#34;&amp;#91;Desc&amp;#93;&amp;#34;, Storage&amp;#61;&amp;#34;_&amp;#91;Desc&amp;#93;&amp;#34;, DbType&amp;#61;&amp;#34;VarChar&amp;#40;255&amp;#41;&amp;#34;, CanBeNull&amp;#61;true, UpdateCheck&amp;#61;UpdateCheck.Never&amp;#41;&amp;#93;&lt;br /&gt;        public string Desc&lt;br /&gt;        &amp;#123;&lt;br /&gt;            get&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return _&amp;#91;Desc&amp;#93;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            set&lt;br /&gt;            &amp;#123;&lt;br /&gt;                _&amp;#91;Desc&amp;#93; &amp;#61; value&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        &amp;#47;&amp;#42; .... snip ... &amp;#42;&amp;#47;&lt;br /&gt;    &amp;#125;&lt;br /&gt;</description><author>djseng</author><pubDate>Wed, 19 Mar 2008 16:10:52 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: A Reserved Word in SQL leaves the brackets in the generated Code. 20080319041052P</guid></item><item><title>COMMENTED ISSUE: Congrats on the first release</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1114</link><description>Excellent work guys. I&amp;#39;ve been trying to get VS 2008 to regenerate the designer.cs file from a .dbml file but for some reason any new association that I add doesnt generate the corresponding code in designer.cs&lt;br /&gt;&lt;br /&gt;I found my way to your tool, played around and I got it to generate a designer.cs like file from a single .dbml file. However, it used the original Database Column names instead of those I defined in the DBML. Can you make this in your future release&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: Korayem ** &lt;p&gt;Excellent&amp;#33;&amp;#33; i am glad that I was of any aid &amp;#59;&amp;#41;&lt;/p&gt;&lt;p&gt;I am downloading the current source code and playing with it&lt;/p&gt;</description><author>Korayem</author><pubDate>Sun, 09 Mar 2008 17:39:20 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Congrats on the first release 20080309053920P</guid></item><item><title>CLOSED ISSUE: Congrats on the first release</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1114</link><description>Excellent work guys. I&amp;#39;ve been trying to get VS 2008 to regenerate the designer.cs file from a .dbml file but for some reason any new association that I add doesnt generate the corresponding code in designer.cs&lt;br /&gt;&lt;br /&gt;I found my way to your tool, played around and I got it to generate a designer.cs like file from a single .dbml file. However, it used the original Database Column names instead of those I defined in the DBML. Can you make this in your future release&amp;#63;&lt;br /&gt;</description><author>benjamine</author><pubDate>Tue, 04 Mar 2008 19:57:20 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: Congrats on the first release 20080304075720P</guid></item><item><title>COMMENTED ISSUE: Congrats on the first release</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1114</link><description>Excellent work guys. I&amp;#39;ve been trying to get VS 2008 to regenerate the designer.cs file from a .dbml file but for some reason any new association that I add doesnt generate the corresponding code in designer.cs&lt;br /&gt;&lt;br /&gt;I found my way to your tool, played around and I got it to generate a designer.cs like file from a single .dbml file. However, it used the original Database Column names instead of those I defined in the DBML. Can you make this in your future release&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: benjamine ** &lt;p&gt;Korayem,&lt;/p&gt;&lt;p&gt;You&amp;#39;re absolutely right about this, we were ignoring the &amp;#34;Member&amp;#34; attribute of the dbml,&lt;br /&gt;I will merge your attached code and upload it on the next ChangeSet,&lt;/p&gt;&lt;p&gt;Thanks for your kind collaboration and congrats&amp;#33;,&lt;br /&gt;&lt;/p&gt;</description><author>benjamine</author><pubDate>Fri, 29 Feb 2008 12:18:01 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Congrats on the first release 20080229121801P</guid></item><item><title>COMMENTED ISSUE: Congrats on the first release</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1114</link><description>Excellent work guys. I&amp;#39;ve been trying to get VS 2008 to regenerate the designer.cs file from a .dbml file but for some reason any new association that I add doesnt generate the corresponding code in designer.cs&lt;br /&gt;&lt;br /&gt;I found my way to your tool, played around and I got it to generate a designer.cs like file from a single .dbml file. However, it used the original Database Column names instead of those I defined in the DBML. Can you make this in your future release&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: Korayem ** &lt;p&gt;I took a look in your code and did some small modifications and now I am getting the results I expected.&lt;/p&gt;&lt;p&gt;If it wasn&amp;#39;t for your good coding style, I wouldn&amp;#39;t manage to modify the code. It took me less than 5 minutes &amp;#59;&amp;#41;&lt;br /&gt;&lt;/p&gt;</description><author>Korayem</author><pubDate>Wed, 27 Feb 2008 20:12:13 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Congrats on the first release 20080227081213P</guid></item><item><title>COMMENTED ISSUE: Congrats on the first release</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1114</link><description>Excellent work guys. I&amp;#39;ve been trying to get VS 2008 to regenerate the designer.cs file from a .dbml file but for some reason any new association that I add doesnt generate the corresponding code in designer.cs&lt;br /&gt;&lt;br /&gt;I found my way to your tool, played around and I got it to generate a designer.cs like file from a single .dbml file. However, it used the original Database Column names instead of those I defined in the DBML. Can you make this in your future release&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: Korayem ** &lt;p&gt;For example, you genereted from the dbml file&lt;br /&gt;    &amp;#91;Column&amp;#40;Storage&amp;#61;&amp;#34;_MEMBER_ID&amp;#34;, DbType&amp;#61;&amp;#34;Int NOT NULL IDENTITY&amp;#34;, AutoSync&amp;#61;AutoSync.OnInsert, IsPrimaryKey&amp;#61;true, IsDbGenerated&amp;#61;true, UpdateCheck&amp;#61;UpdateCheck.Never&amp;#41;&amp;#93;&lt;br /&gt;    public int MEMBER_ID&lt;br /&gt;    &amp;#123;&lt;br /&gt;        get&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return _MEMBER_ID&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        set&lt;br /&gt;        &amp;#123;&lt;br /&gt;            _MEMBER_ID &amp;#61; value&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;While what I was expecting was&amp;#58;&lt;br /&gt;&amp;#9;&amp;#91;Column&amp;#40;Name&amp;#61;&amp;#34;M_NAME&amp;#34;, Storage&amp;#61;&amp;#34;_Username&amp;#34;, DbType&amp;#61;&amp;#34;NVarChar&amp;#40;75&amp;#41;&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;&amp;#9;public string Username&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;get&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;return this._Username&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;set&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;                         this._Username &amp;#61; value&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#125;&lt;/p&gt;</description><author>Korayem</author><pubDate>Wed, 27 Feb 2008 20:07:09 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Congrats on the first release 20080227080709P</guid></item><item><title>CREATED ISSUE: Congrats on the first release</title><link>http://www.codeplex.com/ULinqGen/WorkItem/View.aspx?WorkItemId=1114</link><description>Excellent work guys. I&amp;#39;ve been trying to get VS 2008 to regenerate the designer.cs file from a .dbml file but for some reason any new association that I add doesnt generate the corresponding code in designer.cs&lt;br /&gt;&lt;br /&gt;I found my way to your tool, played around and I got it to generate a designer.cs like file from a single .dbml file. However, it used the original Database Column names instead of those I defined in the DBML. Can you make this in your future release&amp;#63;&lt;br /&gt;</description><author>Korayem</author><pubDate>Wed, 27 Feb 2008 20:01:23 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Congrats on the first release 20080227080123P</guid></item></channel></rss>