LEADTOOLS Medical (Leadtools.Medical.Workstation.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PrepareGetAnnotationsCountCommand Method
See Also 
Leadtools.Medical.Workstation.DataAccessLayer Namespace > WorkstationSqlDataAccessAgent Class : PrepareGetAnnotationsCountCommand 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.
command
The System.Data.Common.DbCommand to be initialized.
sopInstanceUID
The SOP Instance UID of the data set that is associated with the annotation.
Initializes a System.Data.Common.DbCommand to get the number of annotation containers associated with an sopInstanceUID.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub PrepareGetAnnotationsCountCommand( _
   ByVal command As DbCommand, _
   ByVal sopInstanceUID As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As WorkstationSqlDataAccessAgent
Dim command As DbCommand
Dim sopInstanceUID As String
 
instance.PrepareGetAnnotationsCountCommand(command, sopInstanceUID)
C# 
protected override void PrepareGetAnnotationsCountCommand( 
   DbCommand command,
   string sopInstanceUID
)
Managed Extensions for C++ 
protected: void PrepareGetAnnotationsCountCommand( 
   DbCommand* command,
   string* sopInstanceUID
) override 
C++/CLI 
protected:
void PrepareGetAnnotationsCountCommand( 
   DbCommand^ command,
   String^ sopInstanceUID
) 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.

Remarks

Override this method to provide the database specific behavior for getting the annotation count that corresponds to an sopInstanceUID.

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