Recommended way to return single scalar value from a databaseRecommended way to return single scalar value from a database
Old forum URL: forums.lhotka.net/forums/t/898.aspx
AudreyHomer posted on Monday, August 14, 2006
Hi. I have a need to return a single scalar value. Its just a check for existence. It seems over kill to create a class just for that. How do you guys typically handle this? Thanks!
matt tag replied on Monday, August 14, 2006
I create a class. It seems like overkill the first time you use it - you'll pat yourself on the back the 15th time you use it...
matt tag
skagen00 replied on Monday, August 14, 2006
I created a class too.
I actually have it built in the modified code gen templates that I use for Editable Roots. It's really cookie-cutter code...
Chris
Copyright (c) Marimer LLC