473,440 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,440 software developers and data experts.

Code Generator

Hi Friends,
I have a table with 30 fields and i'd like to know if there is some code
generator that get those fields and transform to properties ???

--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx
Nov 17 '05 #1
8 1745
If you mean to transform class fields into class properties, my add-in
(below) can do that with the Convert Field to Property feature.
--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Paperback Writer" <ne*********@gmail.com> escribió en el mensaje
news:eq****************@TK2MSFTNGP15.phx.gbl...
Hi Friends,
I have a table with 30 fields and i'd like to know if there is some code
generator that get those fields and transform to properties ???

--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx

Nov 17 '05 #2
hi,

A time ago a thread talked a lot about this, IIRC joanna Carter and Richard
Blewett had some lengthly and interesting arguments on it.

Do a google for those names.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Paperback Writer" <ne*********@gmail.com> wrote in message
news:eq****************@TK2MSFTNGP15.phx.gbl...
Hi Friends,
I have a table with 30 fields and i'd like to know if there is some code
generator that get those fields and transform to properties ???

--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx

Nov 17 '05 #3
Paperback Writer wrote:
Hi Friends,
I have a table with 30 fields and i'd like to know if there is some code
generator that get those fields and transform to properties ???

[...snip...]

You could try MyGeneration:

http://www.mygenerationsoftware.com/Default.aspx
Nov 17 '05 #4
JetBrains Resharper (http://www.jetbrains.com/resharper/) offers an easy and
flexible way to transform fields into properties. It's also a factastic
refactoring tool, with hundreds of other features - well worth the $149!

I noticed that MzTools had posted a response too. I've not tried it for
..NET, but the VB version was a life saver.

Tobes

"Paperback Writer" <ne*********@gmail.com> wrote in message
news:eq****************@TK2MSFTNGP15.phx.gbl...
Hi Friends,
I have a table with 30 fields and i'd like to know if there is some code
generator that get those fields and transform to properties ???

--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx

Nov 17 '05 #5
Hi Tobes,

MZ-Tools 4.0 is even better than MZ-Tools 3.0 for VB6 and it supports C#,
not only VB.NET.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Tobin Harris" <tobin@_do_not_spam_tobinharris.com> escribió en el mensaje
news:42***********************@news.zen.co.uk...
I noticed that MzTools had posted a response too. I've not tried it for
.NET, but the VB version was a life saver.

Tobes

Nov 17 '05 #6
Paperback Writer wrote:
I have a table with 30 fields and i'd like to know if there is some
code generator that get those fields and transform to properties ???


We've had luck using CodeSmith:

http://www.codesmithtools.com/

Although, I thought they used to have a longer trial period than 30 days.

Still, seemed to do what we needed.

Oh, wait, here it is:

http://www.codesmithtools.com/freeware.aspx

--
Reginald Blue
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone."
- Bjarne Stroustrup (originator of C++) [quoted at the 2003
International Conference on Intelligent User Interfaces]
Nov 17 '05 #7
Hi,

I have a code generation tool for .NET developers. It will generate
DataSets, ASP.NET pages, stored procedures and a Data Access layer.

http://www.radsoftware.com.au/codegenerator/

--
Ross Donald
http://www.radsoftware.com.au
"Paperback Writer" <ne*********@gmail.com> wrote in message
news:eq****************@TK2MSFTNGP15.phx.gbl...
Hi Friends,
I have a table with 30 fields and i'd like to know if there is some code
generator that get those fields and transform to properties ???

--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx


Nov 17 '05 #8
I think he's talking about a database table.

Resharper Rocks anyway. ;-)

Wiebe

Tobin Harris wrote:
JetBrains Resharper (http://www.jetbrains.com/resharper/) offers an easy and
flexible way to transform fields into properties. It's also a factastic
refactoring tool, with hundreds of other features - well worth the $149!

I noticed that MzTools had posted a response too. I've not tried it for
.NET, but the VB version was a life saver.

Tobes

"Paperback Writer" <ne*********@gmail.com> wrote in message
news:eq****************@TK2MSFTNGP15.phx.gbl...
Hi Friends,
I have a table with 30 fields and i'd like to know if there is some code
generator that get those fields and transform to properties ???

--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx


Nov 17 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

51
by: Mudge | last post by:
Please, someone, tell me why OO in PHP is better than procedural.
2
by: Dado | last post by:
Do you know where to find some peace of software/code which I can implemented in my desktop java application which will protect it from illegal using? I imagine something like: buyer can install...
0
by: Chris McKeever | last post by:
I am trying to modify the Mailman Python code to stop mapping MIME-types and use the extension of the attachment instead. I am pretty much clueless as to what I need to do here, but I think I have...
8
by: Thomas Stegen | last post by:
I have written a code generator. To be more specific it is a code generator generator. As in a generator that generates code generators. If you run the generator on its own source code you get a...
41
by: Petr Jakes | last post by:
Hello, I am trying to study/understand OOP principles using Python. I have found following code http://tinyurl.com/a4zkn about FSM (finite state machine) on this list, which looks quite useful for...
3
by: joshblair | last post by:
Hello, Has anyone ever seen or created such a code generator? I'm looking for a sample of a code generator that will generate code (preferably one that uses C# and the XMLTextWriter) to create...
29
by: Ancient_Hacker | last post by:
A while back I had to recompile some old code, originally written by a really good programmer, but one prone to use every trick in the book, and then some. There was a statement, something like...
4
by: VMI | last post by:
In the next few weeks, we'll be discussing what standards will be used for our web development, and one of the suggestions was to use a code generator (in our case, the first version of LLBLGen)....
3
by: Sander Tekelenburg | last post by:
Situation: I store news articles as individual PHP files. Each file contains HTML and now and then some embedded PHP snippets. Serving those news articles on the Web works fine, through...
5
by: james | last post by:
To give an example of what I mean I have already altered the code: def output_random_lesson_of_type(self, type=None): """Output a lesson of a specific type. If no type is passed in then output...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.