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

PrepareStoreAnnotationObjectCommand Method (WorkstationSqlDataAccessAgent)







The System.Data.Common.DbCommand to be initialized.
An ID that will be associated with the annotation container being inserted
The SOPInstanceUID of the data set that is associated with the annotation.
The description of the annotation being inserted
The file name that contains the annotation being inserted
Initializes a System.Data.Common.DbCommand to insert an annotation.
Syntax
protected override void PrepareStoreAnnotationObjectCommand( 
   DbCommand command,
   int annotationNumber,
   string sopInstanceUID,
   string annotationDescription,
   string annotationFileName
)
'Declaration
 
Protected Overrides Sub PrepareStoreAnnotationObjectCommand( _
   ByVal command As DbCommand, _
   ByVal annotationNumber As Integer, _
   ByVal sopInstanceUID As String, _
   ByVal annotationDescription As String, _
   ByVal annotationFileName As String _
) 
'Usage
 
Dim instance As WorkstationSqlDataAccessAgent
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)
protected override void PrepareStoreAnnotationObjectCommand( 
   DbCommand command,
   int annotationNumber,
   string sopInstanceUID,
   string annotationDescription,
   string annotationFileName
)
 function Leadtools.Medical.Workstation.DataAccessLayer.WorkstationSqlDataAccessAgent.PrepareStoreAnnotationObjectCommand( 
   command ,
   annotationNumber ,
   sopInstanceUID ,
   annotationDescription ,
   annotationFileName 
)
protected: void PrepareStoreAnnotationObjectCommand( 
   DbCommand* command,
   int annotationNumber,
   string* sopInstanceUID,
   string* annotationDescription,
   string* annotationFileName
) override 
protected:
void PrepareStoreAnnotationObjectCommand( 
   DbCommand* command,
   int annotationNumber,
   string* sopInstanceUID,
   string* annotationDescription,
   string* annotationFileName
) override 

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: 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.