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




command
The System.Data.Common.DbCommand to be initialized.
annotationNumber
An ID that will be associated with the annotation container being inserted
sopInstanceUID
The SOPInstanceUID of the data set that is associated with the annotation.
annotationDescription
The description of the annotation being inserted
annotationFileName
The file name that contains the annotation being inserted
command
The System.Data.Common.DbCommand to be initialized.
annotationNumber
An ID that will be associated with the annotation container being inserted
sopInstanceUID
The SOPInstanceUID of the data set that is associated with the annotation.
annotationDescription
The description of the annotation being inserted
annotationFileName
The file name that contains the annotation being inserted
Initializes a System.Data.Common.DbCommand to insert an annotation.

Syntax

Visual Basic (Declaration) 
Protected MustOverride Sub PrepareStoreAnnotationObjectCommand( _
   ByVal command As DbCommand, _
   ByVal annotationNumber As Integer, _
   ByVal sopInstanceUID As String, _
   ByVal annotationDescription As String, _
   ByVal annotationFileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As WorkstationDataAccessAgent
Dim command As DbCommand
Dim annotationNumber As Integer
Dim sopInstanceUID As String
Dim annotationDescription As String
Dim annotationFileName As String
 
instance.PrepareStoreAnnotationObjectCommand(command, annotationNumber, sopInstanceUID, annotationDescription, annotationFileName)
C# 
protected abstract void PrepareStoreAnnotationObjectCommand( 
   DbCommand command,
   int annotationNumber,
   string sopInstanceUID,
   string annotationDescription,
   string annotationFileName
)
Managed Extensions for C++ 
protected: abstract void PrepareStoreAnnotationObjectCommand( 
   DbCommand* command,
   int annotationNumber,
   string* sopInstanceUID,
   string* annotationDescription,
   string* annotationFileName
) 
C++/CLI 
protected:
abstract void PrepareStoreAnnotationObjectCommand( 
   DbCommand^ command,
   int annotationNumber,
   String^ sopInstanceUID,
   String^ annotationDescription,
   String^ annotationFileName
) 

Parameters

command
The System.Data.Common.DbCommand to be initialized.
annotationNumber
An ID that will be associated with the annotation container being inserted
sopInstanceUID
The SOPInstanceUID of the data set that is associated with the annotation.
annotationDescription
The description of the annotation being inserted
annotationFileName
The file name that contains the annotation being inserted

Remarks

Override this method to provide the database specific behavior for inserting an annotation.

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