12 Jun
2012
12 Jun
'12
11:24 p.m.
On Jun 12, 2012, at 10:19 AM, Richard Wackerbarth wrote:
Perhaps you should consider a different strategy that does not couple so tightly the SQL schema with the parameters.
Rather that having an object which tries to keep everything directly on the object, place many of those values in a dictionary and do (key, value) lookups on the dictionary rather expecting the key to be a property of the object itself.
That way, additional values can be associated with the object without changing the underlying database schema.
It's a good idea, and I've thought about that. The Pendings database is essentially that. Of course, switching to it is itself a schema migration. ;)
Maybe I should just renege on my beta1 promise ;).
-Barry