Results 1 to 5 of 5

Thread: Class <-> table relationships

  1. #1

    Thread Starter
    Fanatic Member SkiNLaB's Avatar
    Join Date
    Jan 2002
    Location
    Sydney, Australia
    Posts
    747

    Class <-> table relationships

    I almost ALWAYS have a corresponding class for each table in my database, no matter which way i do it, it always comes down to a class per table.

    there should be some kind of difference in the strucutre between my classes and my database shouldnt there?

    Is this what everyone else ends up with aswell when they are designing their programs?

  2. #2
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302
    I do the same thing.

    I've been thinking about making a a vb addin that will scan an mdb file and create corresponding classes. But I'm lazy....

  3. #3

    Thread Starter
    Fanatic Member SkiNLaB's Avatar
    Join Date
    Jan 2002
    Location
    Sydney, Australia
    Posts
    747
    There are two similar tools, we just need someone to combine them, i found them on PSC.

    one creates a class with all ur field names, and properties etc,

    the other makes nice subs building ur sql strings for inserts, updates, deletes etc.

    If i combine them it will be a super DB table class maker.

  4. #4
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302
    sweet!

    Can you post the links to these projects?

  5. #5

    Thread Starter
    Fanatic Member SkiNLaB's Avatar
    Join Date
    Jan 2002
    Location
    Sydney, Australia
    Posts
    747
    im not entirely sure which one i used but im sure its in this list

    http://www.planetsourcecode.com/vb/s...t=Alphabetical

    and other one i used that builds sql queries..

    http://www.planetsourcecode.com/vb/s...23742&lngWId=1

    but there are alot more entries in this area that i havent as yet seen on PSC.

    this one looks good http://www.planetsourcecode.com/vb/s...41365&lngWId=1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width