On 5/2/05, Dave Merrill <[EMAIL PROTECTED]> wrote:
> So if some rows couldn't be deleted, it should throw an error? Ignore it?
The delete method would throw an exception.

> You don't plan on a msg to the user saying how many rows were deleted?
My preference is not to have the delete method return anything. But if
I needed to know how many rows were deleted, the simplest solution
would probably be to have the delete method return that number. I
wouldn't refactor to a "better" solution unless/until I could justify
the extra work and complexity.

Patrick

-- 
Patrick McElhaney
704.560.9117
http://pmcelhaney.weblogs.us


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]


Reply via email to