Can I suggest you explain a little more about what exactly it is you hope to achieve with this? It sounds like you're diving into the ORM problem, or some aspect of it, and I have to say I've never really understood the fascination with it (is the relational model so much harder to understand than the object model? Why not just do it relationally?).
in reply to Fishing for constraint => SQL designs
ORM: The Vietnam of Computer Science?
(It appears that I'm an advocate of the "Table Data Gateway" design pattern.)