LEADTOOLS Medical (Leadtools.Medical.Workstation.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PrepareGetAnnotationFileCommand Method
See Also 
Leadtools.Medical.Workstation.DataAccessLayer Namespace > WorkstationSqlDataAccessAgent Class : PrepareGetAnnotationFileCommand 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 get the annotation file associated with an sopInstanceUID.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub PrepareGetAnnotationFileCommand( _
   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.PrepareGetAnnotationFileCommand(command, sopInstanceUID, annotationNumber)
C# 
protected override void PrepareGetAnnotationFileCommand( 
   DbCommand command,
   string sopInstanceUID,
   int annotationNumber
)
Managed Extensions for C++ 
protected: void PrepareGetAnnotationFileCommand( 
   DbCommand* command,
   string* sopInstanceUID,
   int annotationNumber
) override 
C++/CLI 
protected:
void PrepareGetAnnotationFileCommand( 
   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 getting the annotation file that corresponds to an 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