
Update: Utility to create VB Class Files and Stored Procedures
Hi,
Thanks for your Feedback.
Since this is VB.NET I didn't want to complicate things any further. Most of
the VB Programmers out there are not that familiar with OOP. It might take
some time for them to catch up. So keeping them in mind I just stick to
basic stuff. Even to include the Parameter Class I thought twice so that it
doesn't complicate things. For this one reason I have to come out with a
small window that explains the advantage of using Parameter Class (and also
have included the usual way of adding parameters) and that too sacrificing
my goal (which is to make sure my .exe doesn't exceed 100 KB which slightly
over now - 108 KB now).
I am not really a die-hard VB guy. Infact I entererd this .NET world
through C#. The project that I am working is on VB.NET. Though I tried
convincing my Boss to use C#.NET but lack of C# resources made me switch to
VB.NET. I have to agree that VB is a cool language especially the way IDE
Editor handles it and the non-case sensitive part. IF... END IF... WHILE..
END WHILE making a Programmer's life much meaningful.
I am thinking of writing the same Code Generator for C# as well (and if
posibble for JScript) and I will see whether I can compliacate things any
further than that of VB.
I really appreciate your Feedback.
Anand
Quote:
> Hi Anand,
> I had a look at your code generator and quite impressed with your idea.
Good
> show. But I also got a feeling that you are a die-hard VB programmer !!
Yes,
> it is a very good idea to automate repititive tasks but I think you can
> polish the tool more and make use of inhertance. Like for ex. you don't
need
> the code to retrieve, save and delete in every class. They can all derive
> from a common class that handles this for them. Of course this means your
> tool will have to generate the base class as well. This way, programmers
can
> extend the generated class by adding their own methods and properties,
still
> keeping the core funtionailty and the ability to change it in just one
place
> if necessary.
> > Hi,
> > I have written another utility which reads the tables from MSSQL
Database
> or
> > MSDE and creates the Class files accordingly. I have only tested this on
> > Windows
> > XP machine with .NET installed. This also has the Stored Procedure
Utility
> > in it
> > Please visit http://www.ananddotnet.com/tools/VBNetClass.htm for more
info
> > Regards,
> > Anand