LEADTOOLS Medical (Leadtools.Medical.Workstation.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PrepareDeleteAnnotationCommand Method
See Also 
Leadtools.Medical.Workstation.DataAccessLayer Namespace > WorkstationSqlDataAccessAgent Class : PrepareDeleteAnnotationCommand Method




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
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
Initializes a System.Data.Common.DbCommand to delete the annotation container that corresponds to the sopInstanceUID and annotationNumber.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub PrepareDeleteAnnotationCommand( _
   ByVal command As DbCommand, _
   ByVal sopInstanceUID As String, _
   ByVal annotationNumber As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As WorkstationSqlDataAccessAgent
Dim command As DbCommand
Dim sopInstanceUID As String
Dim annotationNumber As Integer
 
instance.PrepareDeleteAnnotationCommand(command, sopInstanceUID, annotationNumber)
C# 
protected override void PrepareDeleteAnnotationCommand( 
   DbCommand command,
   string sopInstanceUID,
   int annotationNumber
)
Managed Extensions for C++ 
protected: void PrepareDeleteAnnotationCommand( 
   DbCommand* command,
   string* sopInstanceUID,
   int annotationNumber
) override 
C++/CLI 
protected:
void PrepareDeleteAnnotationCommand( 
   DbCommand^ command,
   String^ sopInstanceUID,
   int annotationNumber
) override 

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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also