BBS.PROGENIC.COM
Home      Members   Calendar   Who's On   SOTM
Welcome Guest ( Login | Register )
      

Home » The Scene » Scene Releases » C# Property class generator

12»»

C# Property class generatorExpand / Collapse
Author
Message
Posted Monday, November 21, 2005 8:38 AM


Progenic Crew

Progenic Crew

Group: Administrators
Last Login: Yesterday @ 12:36 PM
Posts: 930, Visits: 5,409
One of the little tools I created to make life easier.

If you're like me and tend to create classes in C# as a sort of in-memory representation of a database table (e.g. a User object) then you'll know how annoying it is to type out / copy paste the fieldnames, their get/set properties and that manually.

So without further ado(.net, pun intended) I present this. Only works with SQLServer (2k/2k5).

http://www.morphed.org/dbpropgen/DBPropertyGenerator.zip

Sample output:

Code available if you want or don't trust my code (and you're too lazy to ILDASM it).

(Oh yea, it generates the var declarations line by line, I was too lazy to do that properly).

(Oh yea, it requires .net framework 2)

Post #168
Posted Monday, November 21, 2005 11:12 AM
Progenic Family

Progenic Family

Group: Old Skool
Last Login: Saturday, December 06, 2008 6:48 AM
Posts: 871, Visits: 2,774
now that looks handy..... cheers wax!


Somebody get me some Dickens!
Post #171
Posted Wednesday, May 21, 2008 10:44 PM
New Member

New Member

Group: Forum Members
Last Login: Wednesday, May 21, 2008 10:42 PM
Posts: 1, Visits: 1
link is broken, can you give another link .. please

Goen
Post #14543
Posted Thursday, May 22, 2008 2:56 PM


Progenic Crew

Progenic Crew

Group: Administrators
Last Login: Yesterday @ 12:36 PM
Posts: 930, Visits: 5,409
I'll dig it up and post a fixed link when I'm back from Berlin beginning of next week
Post #14548
Posted Sunday, May 25, 2008 12:40 PM


Progenic Crew

Progenic Crew

Group: Administrators
Last Login: Yesterday @ 12:36 PM
Posts: 930, Visits: 5,409
Download:

http://www.videoripper.net/images/DBPropertyGenerator.zip

Screenshot:

Post #14574
Posted Tuesday, May 27, 2008 6:10 PM


Progenic Family

Progenic Family

Group: Old Skool
Last Login: Friday, November 14, 2008 3:37 AM
Posts: 1,064, Visits: 4,354
nice mate but have you seen llblgen? it's what we use at work as an o/r mapper. definitely the best around.

--
http://www.boxofgoodfeelings.com/
http://lets.coozi.com.au/
Post #14586
Posted Tuesday, May 27, 2008 6:24 PM


Progenic Crew

Progenic Crew

Group: Administrators
Last Login: Yesterday @ 2:21 PM
Posts: 2,470, Visits: 37,585
looks sexy i'm gonna play with that tomorrow, intro vid on here shows it off nicely

http://www.netfxharmonics.com/2006/03/llblgen-overview-special-edition-video.aspx

 

Post #14589
Posted Tuesday, May 27, 2008 6:29 PM


Progenic Family

Progenic Family

Group: Old Skool
Last Login: Friday, November 14, 2008 3:37 AM
Posts: 1,064, Visits: 4,354
yeah it's easily worth the few $$ for the pro version. guy that writes it (frans bouma) is very smart/practical guy. stopped me from writing my own orm (like wax's) when i found it.

--
http://www.boxofgoodfeelings.com/
http://lets.coozi.com.au/
Post #14592
Posted Wednesday, May 28, 2008 12:41 PM


Progenic Crew

Progenic Crew

Group: Administrators
Last Login: Yesterday @ 2:21 PM
Posts: 2,470, Visits: 37,585
lok pm me with contact details, you've disabled pms.

What about LINQ and the ADO.NET Entity framework. Do you think it's worth me learning llbgen or would this be better?

http://msdn.microsoft.com/en-us/library/aa697427(VS.80).aspx

 

Post #14608
Posted Wednesday, May 28, 2008 2:06 PM


Progenic Crew

Progenic Crew

Group: Administrators
Last Login: Yesterday @ 12:36 PM
Posts: 930, Visits: 5,409
Nah lok, O/R mappers are complete overkill for what this little tool was written for all this time ago.

And these days I'm not going to waste my time on a O/R mapper now that LINQ/LINQ2SQL is sorted. 

(And yes, Bouma is practical but his posts are just non stop advertisements for LLBGen and flames directed at anything that's direct competition to it.. the guy invented tunnel vision)

Post #14609
« Prev Topic | Next Topic »

12»»

Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: proge, wax

All times are GMT -6:00, Time now is 6:14am