<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Huagati Systems Support Forum - Huagati DBML/EDMX Tools Support - Property Renaming - Messages</title>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<description>Huagati Systems Support Forum - Huagati DBML/EDMX Tools Support - Property Renaming - Messages</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Jitbit AspNetForum</generator>
<pubDate>Tue, 02 Feb 2010 12:34:31 GMT</pubDate>
<lastBuildDate>Tue, 02 Feb 2010 12:34:31 GMT</lastBuildDate>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from Kristofer</title>
<description><![CDATA[<b>moneill</b> wrote:<br><div class=quote>Hi Kristopher <br/><br/>Did you give any more thought to splitting the naming conventions 3 ways as above , it would really make life a lot easier <br/><br/>Cheers<br/><br/>Mike</div><br/><br/>Hi Mike,<br/><br/>Yes, it is planned for an upcoming release along with [codeless] pluralization/singularization overrides.<br/><br/>Best regards,<br/>Kristofer]]></description>
<pubDate>Tue, 02 Feb 2010 12:34:31 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from moneill</title>
<description><![CDATA[Hi Kristopher <br/><br/>Did you give any more thought to splitting the naming conventions 3 ways as above , it would really make life a lot easier <br/><br/>Cheers<br/><br/>Mike]]></description>
<pubDate>Sat, 30 Jan 2010 16:13:10 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from iolaus</title>
<description><![CDATA[The ability to make property naming exclusions would be great.  Perhaps the ability to manually define a renaming would be even better?<br/><br/>We've been having an issue that I think is due to Huagati naming standardization altering the &lt;Column Storage=""&gt; value in the .dbml where renaming through VS doesn't seem to.<br/><br/>Here is an example of where this has been a problem...<br/><br/>We have a table name "Address" with fields:<br/><br/>Address1<br/>Address2<br/>Address3<br/><br/>If I check "Remove leading entity name" on the "Entity Members" tab the properties are renamed:<br/><br/>_1<br/>_2<br/>_3<br/><br/>This is understandable, however, when I manually rename the properties back to their original form using the Visual Studio dbml editor, the class fields don't get renamed and still have the underscore.]]></description>
<pubDate>Wed, 13 Jan 2010 14:44:23 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from Kristofer</title>
<description><![CDATA[<b>moneill</b> wrote:<br><div class=quote>To be totally flexible should there not be 3 renamings independently <br/><br/>The Entity itslef say Process<br/>The EntitySet as such as a Property of an Entity by Foreign Key eg Process.Materials<br/>The Table iself in the Context eg public System.Data.Linq.Table&lt;Process&gt; Process<br/></div><br/><br/>Yes, it would make sense to have a separate rule tab for navigation properties (associations/FKs) in addition to the current ones. I'll look into that for a future version.]]></description>
<pubDate>Tue, 17 Nov 2009 04:50:19 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from moneill</title>
<description><![CDATA[Got there .... I have finally set it up With None as the pluralisation in all 3 cases , but this is a new Db and the naming convention is "good", when you get to an old and possibly not so "perfectly named" the fun starts<br/><br/>One "final" question ?<br/><br/>To be totally flexible should there not be 3 renamings independently <br/><br/>The Entity itslef say Process<br/>The EntitySet as such as a Property of an Entity by Foreign Key eg Process.Materials<br/>The Table iself in the Context eg public System.Data.Linq.Table&lt;Process&gt; Process<br/><br/>Now that would be the icing on the cake<br/><br/>Mike]]></description>
<pubDate>Tue, 17 Nov 2009 04:33:33 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from Kristofer</title>
<description><![CDATA[Yes, by default it avoids both C# and VB keywords. This is because although an assembly is developed in one language it may be consumed/used from other languages.<br/><br/>There is a semi-'hidden' setting for turning this off in the [dbmlfile].namePrefs file. Each one of the sections EntitySetPrefs, EntityTypePrefs, PropertyPrefs, and ProcedurePrefs have two properties controlling if C# keywords and/or VB keywords should be allowed as identifier names or not:<br/><br/>    &lt;AllowCSKeywords&gt;false&lt;/AllowCSKeywords&gt;<br/>    &lt;AllowVBKeywords&gt;false&lt;/AllowVBKeywords&gt;<br/><br/>If you want to allow VB keywords, you can edit that file with notepad and change all four AllowVBKeywords from false to true.]]></description>
<pubDate>Tue, 17 Nov 2009 03:58:06 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from moneill</title>
<description><![CDATA[And next ---- are you treating Option as a KeyWord ?, I get Option1 when I rename , I use the table for application options so I could easily rename it .<br/><br/>If yes out of interest why , I assume as a VB Keyword Clash , in C# I nver thought about that <br/><br/>Mike]]></description>
<pubDate>Tue, 17 Nov 2009 03:31:40 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from Kristofer</title>
<description><![CDATA[<b>moneill</b> wrote:<br><div class=quote><br/>How can I do this with your tool. Is it possible to have a set of "exception names"  that are not pluralised ,maybe as a List Box a user can customise , then on renaming leave these special case out of the mix and simply use the DB Name<br/><br/>If I singularise Process with the tool I get Proces , If I pluralize I get Processes  , but never Process ??<br/><br/>I can get around it by renaming tables but this isn't ideal as its such "bog standard" terminology in my industry</div><br/><br/>It has an extensibility feature allowing you to plug in custom code for name rules and for pluralization/singularization. There is a code sample for that in this thread: <a href="http://forum.huagati.com/topic74-customizing-table-names.aspx#post290" target="_blank" rel="nofollow">http://forum.huagati.com/topic74-customizing-table-names.aspx#post290</a> , and the extensibility interface itself is documented here: <a href="http://www.huagati.com/dbmltools/ExtensibilityHelp/" target="_blank" rel="nofollow">http://www.huagati.com/dbmltools/ExtensibilityHelp/</a><br/><br/>However, I see that it can be a bit of overkill to use that if there are just a handful of names to override, so I will look into adding a built-in 'exception list' to a future version...<br/><em>edited by Kristofer on 11/16/2009</em>]]></description>
<pubDate>Mon, 16 Nov 2009 02:26:10 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from Kristofer</title>
<description><![CDATA[<b>moneill</b> wrote:<br><div class=quote>You read my mind <br/><br/>I just  upgraded to 1.81 and all my questions are answered <br/><br/>I love the way you are actively adding features to this tool at users requests , normally it takes months is ever to get some companies to add features .<br/><br/>Does the tool self detect upgrades or do I have to keep an eye open for changes <br/><br/>Cheers</div><br/><br/>Just lucky timing. <img src="images/smilies/smile.gif" border=0><br/><br/>It has a version checker mechanism, so every now and then (3-5 day intervals) it will check if there is a newer version available and will prompt and ask if you want to download the update.]]></description>
<pubDate>Mon, 16 Nov 2009 02:21:39 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from moneill</title>
<description><![CDATA[The next little snag , I work in the brewing industry and we use the term Process & Equipment regularly . I have a table called Process & Equipment<br/><br/>When I create a complete blank dbml and drag the Process Table on , it creates by native Linq 2 sql Processes , intellegent eh ?<br/><br/>public System.Data.Linq.Table&lt;Process&gt; Processes<br/>{<br/>  get<br/>{<br/>    return this.GetTable&lt;Process&gt;()<br/>}<br/>}<br/><br/>in the designer class .<br/><br/>In my CodeSmith stuff I can compnsate for this with special cases , eg Process Equipment etc that I can hard or soft code<br/><br/>How can I do this with your tool. Is it possible to have a set of "exception names"  that are not pluralised ,maybe as a List Box a user can customise , then on renaming leave these special case out of the mix and simply use the DB Name<br/><br/>If I singularise Process with the tool I get Proces , If I pluralize I get Processes  , but never Process ??<br/><br/>I can get around it by renaming tables but this isn't ideal as its such "bog standard" terminology in my industry<br/><br/>v 1.81<br/><br/>Cheers<br/><br/>Mike]]></description>
<pubDate>Sun, 15 Nov 2009 15:00:50 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from moneill</title>
<description><![CDATA[You read my mind <br/><br/>I just  upgraded to 1.81 and all my questions are answered <br/><br/>I love the way you are actively adding features to this tool at users requests , normally it takes months is ever to get some companies to add features .<br/><br/>Does the tool self detect upgrades or do I have to keep an eye open for changes <br/><br/>Cheers]]></description>
<pubDate>Sun, 15 Nov 2009 12:31:02 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from moneill</title>
<description><![CDATA[You read my mind <br/><br/>I just  upgraded to 1.81 and all my questions are answered <br/><br/>I love the way you are actively adding features to this tool at users requests , normally it takes months is ever to get some companies to add features .<br/><br/>Does the tool self detect upgrades or do I have to keep an eye open for changes <br/><br/>Cheers]]></description>
<pubDate>Sun, 15 Nov 2009 12:31:01 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from Kristofer</title>
<description><![CDATA[Hi Mike,<br/><br/>Which version are you using? The renaming feature used to use the current name as the base, but as of version 1.81 (just released yesterday), it allows you to choose if you want the renaming feature to use the current name, or the db object's name as the base name. That allows you to reverse the effects of "remove leading entity name" and other renaming features...<br/><br/>See the highlighted part tagged with a red <span style="color:#FF0000"><b>1</b></span> in this screenshot:    <i>(ignore the other highlighted parts as they were highlighted for another question...)</i><br/><br/><img src="http://forum.huagati.com/upload/2/fqNameET.png" border="0"><br/><br/>Best regards,<br/>Kristofer<br/><em>edited by Kristofer on 11/14/2009</em>]]></description>
<pubDate>Sat, 14 Nov 2009 13:54:06 GMT</pubDate>
</item>
<item>
<link>http://forum.huagati.com/messages.aspx?TopicID=101</link>
<title>Message from moneill</title>
<description><![CDATA[More dumb questions, I suspect there may be more as I get used to the tool<br/><br/>I hvae created the DBML with and Entity Location with LocationID as a property , I now use the tool to rename and check the Remove Leading Entity Name and "Standardise" again , then I get ID <br/><br/>If I now uncheck the Remove Leading Entity Name and "Standardise" again, should I expect the reversal to LocationID , because I don't <br/><br/>Similarly if I uncheck the Capitalise 2 Char endings , I get Id , but unchecking and "Standardise" again does not restore the ID <br/><br/>I suppose the question is , is the renamaing a one way street , get it right first time and no going back ?<br/><br/>I am using Codesmith set up with the same property settings to generate the Manager classes I need to sync with the naming conventions in your tool , so it would be a good thing to be able to re name repeatedly to get a match<br/><br/>Or am I missing something ?<br/><br/>Mike]]></description>
<pubDate>Sat, 14 Nov 2009 13:46:40 GMT</pubDate>
</item>
</channel>
</rss>
