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



command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
patientID
Type: System.String The Patient ID used for matching in the query.
command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
patientID
Type: System.String The Patient ID used for matching in the query.
Initializes a System.Data.IDbCommand object to check whether a patient information exists.

Syntax

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

Parameters

command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
patientID
Type: System.String The Patient ID used for matching in the query.

Remarks

The query result returned from executing this command should return the same patientID value if the patient is found; if the patient 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