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

PrepareDeleteAnnotationCommand Method (WorkstationSqlDataAccessAgent)







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 override void PrepareDeleteAnnotationCommand( 
   DbCommand command,
   string sopInstanceUID,
   int annotationNumber
)
'Declaration
 
Protected Overrides Sub PrepareDeleteAnnotationCommand( _
   ByVal command As DbCommand, _
   ByVal sopInstanceUID As String, _
   ByVal annotationNumber As Integer _
) 
'Usage
 
Dim instance As WorkstationSqlDataAccessAgent
Dim command As DbCommand
Dim sopInstanceUID As String
Dim annotationNumber As Integer
 
instance.PrepareDeleteAnnotationCommand(command, sopInstanceUID, annotationNumber)
protected override void PrepareDeleteAnnotationCommand( 
   DbCommand command,
   string sopInstanceUID,
   int annotationNumber
)
 function Leadtools.Medical.Workstation.DataAccessLayer.WorkstationSqlDataAccessAgent.PrepareDeleteAnnotationCommand( 
   command ,
   sopInstanceUID ,
   annotationNumber 
)
protected: void PrepareDeleteAnnotationCommand( 
   DbCommand* command,
   string* sopInstanceUID,
   int annotationNumber
) override 
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: 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

WorkstationSqlDataAccessAgent Class
WorkstationSqlDataAccessAgent Members

 

 


Products | Support | Contact Us | Copyright Notices

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