LEADTOOLS Medical (Leadtools.Medical.Workstation.DataAccessLayer assembly)
LEAD Technologies, Inc

PrepareDeleteAnnotationCommand Method (WorkstationDataAccessAgent)







The System.Data.Common.DbCommand to be initialized.
The SOP Instance UID of the data set that is associated with the annotation.
The ID of the annotation container
Initializes a System.Data.Common.DbCommand to delete the annotation container that corresponds to the sopInstanceUID and annotationNumber.
Syntax
protected abstract void PrepareDeleteAnnotationCommand( 
   DbCommand command,
   string sopInstanceUID,
   int annotationNumber
)
'Declaration
 
Protected MustOverride Sub PrepareDeleteAnnotationCommand( _
   ByVal command As DbCommand, _
   ByVal sopInstanceUID As String, _
   ByVal annotationNumber As Integer _
) 
'Usage
 
Dim instance As WorkstationDataAccessAgent
Dim command As DbCommand
Dim sopInstanceUID As String
Dim annotationNumber As Integer
 
instance.PrepareDeleteAnnotationCommand(command, sopInstanceUID, annotationNumber)
protected abstract void PrepareDeleteAnnotationCommand( 
   DbCommand command,
   string sopInstanceUID,
   int annotationNumber
)
 function Leadtools.Medical.Workstation.DataAccessLayer.WorkstationDataAccessAgent.PrepareDeleteAnnotationCommand( 
   command ,
   sopInstanceUID ,
   annotationNumber 
)
protected: abstract void PrepareDeleteAnnotationCommand( 
   DbCommand* command,
   string* sopInstanceUID,
   int annotationNumber
) 
protected:
abstract void PrepareDeleteAnnotationCommand( 
   DbCommand* command,
   string* sopInstanceUID,
   int annotationNumber
) 

Parameters

command
The System.Data.Common.DbCommand to be initialized.
sopInstanceUID
The SOP Instance UID of the data set that is associated with the annotation.
annotationNumber
The ID of the annotation container
Remarks
Override this method to provide the database specific behavior for deleting the annotation container associated with sopInstanceUID and annotationNumber.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorkstationDataAccessAgent Class
WorkstationDataAccessAgent Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.