LEADTOOLS Medical (Leadtools.Medical.Storage.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PrepareIsStudyExistsCommand Method
See Also 
Leadtools.Medical.Storage.DataAccessLayer Namespace > StorageSqlDbDataAccessAgent Class : PrepareIsStudyExistsCommand Method



command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
studyInstanceUID
Type: System.String The Study Instance UID used for matching in the query.
command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
studyInstanceUID
Type: System.String The Study Instance UID used for matching in the query.
Initializes a System.Data.IDbCommand object to check whether a study information exists.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub PrepareIsStudyExistsCommand( _
   ByVal command As IDbCommand, _
   ByVal studyInstanceUID As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As StorageSqlDbDataAccessAgent
Dim command As IDbCommand
Dim studyInstanceUID As String
 
instance.PrepareIsStudyExistsCommand(command, studyInstanceUID)
C# 
protected override void PrepareIsStudyExistsCommand( 
   IDbCommand command,
   string studyInstanceUID
)
C++/CLI 
protected:
void PrepareIsStudyExistsCommand( 
   IDbCommand^ command,
   String^ studyInstanceUID
) override 

Parameters

command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
studyInstanceUID
Type: System.String The Study Instance UID used for matching in the query.

Remarks

The query result returned from executing this command should return the same studyInstanceUID value if the study is found; if the study is not found the query won't return any values.

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

Leadtools.Medical.Storage.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features