Patrick McElhaney wrote:
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
  
Totally agree...

-- 
Peter J. Farrell :: Maestro Publishing

blog	:: http://blog.maestropublishing.com
email	:: [EMAIL PROTECTED]

Create boilerplate beans!
Check out the Mach-II Bean Creator - free download.
http://blog.maestropublishing.com/mach-ii_beaner.htm

Not a computer nerd; merely a techno-weenie.
--
----------------------------------------------------------
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