An idea has struck me. What if the DBObject could build its self from the database? You specify the table and it would take care of all the properties and accessors. The one problem with this would be that you lose type safety and intellisence features. The programmer would have to know what columns exist in each table without intellisence there to remind them. There would still be the join problems, but I'm already trying to work those out.
This kindof design would be more data driven and easer for other developers to use.
How do I tell the the object what type each column is? I don't. The developer would have to know this on their own. In a static typed language like c#, this could be very frighting.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment