Geeks With Blogs
Jonathan Starr's Blog Thoughts on C#, Ajax, WCF, LINQ, Agile et al.
improve my => 'code'

Okay, I admit it.  I don't like to use generation software tools - mostly because I know I can always do it better by hand.  Also, cut & paste seems to be the most error prone way to write software - you end up writing everything twice that way.

In my latest project, however, the sheer volume I had to write and test in a short period of time had me scrambling to use UltraEdit, Visual Studio Macros, Visual Studio snippets - everything but the proverbial kitchen sink - to get this thing done with lots of time to spare (roughly four weeks ahead of schedule.)  That's okay, as I have so far generated more than 2000 NUnit tests, and plan to get a few more thousand in there to really prove it is rock solid this week....

Anyway, a co-worker just turned me on to MyGeneration - which is really cool to me as it is allowing me to edit their code generation  templates, to get what I really want.... (My project is WCF, and the code gen did not generate the correct attributes without intervention.)  

I encourage you to give MyGeneration a spin.  The software can generate a data tier and the types for your business tier...  Not bad.  It even allows the user to maintain alias maps between database columns/tablenames and business object properties/class names.  Very happy with that particular feature.

Happy coding,

Jonathan

Posted on Monday, November 19, 2007 7:03 PM C# , Critique , Software Design | Back to top


Comments on this post: My My MyGeneration Baby...

# re: My My MyGeneration Baby...
Requesting Gravatar...
I wanted to give it a try, but I can't get past the Oracle problem, have you?

The problem is, it needs a higher than "normal" level of access to get the table metadata from Oracle. I can get the list of procs for example, but not the list of tables. On the forums I've seen that it needs access to the "ALL_USERS" view. Our DBA wont give me that :)

Codesmith however can read Oracle tables just fine without that level of access. Why not MyGeneration?

Left by Travis Laborde on Nov 20, 2007 7:09 AM

Your comment:
 (will show your gravatar)


Copyright © Jonathan Starr | Powered by: GeeksWithBlogs.net