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



command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
matchingParamsCollection
Type: Collection of Leadtools.Medical.DataAccessLayer.Catalog.CatalogElement Array The matching parameters for the query.
command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
matchingParamsCollection
Type: Collection of Leadtools.Medical.DataAccessLayer.Catalog.CatalogElement Array The matching parameters for the query.
Initializes an System.Data.IDbCommand object to query for studies information using matching parameters.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub PrepareStudiesQueryCommand( _
   ByVal command As IDbCommand, _
   ByVal matchingParamsCollection As Collection(Of CatalogElement()) _
) 
Visual Basic (Usage)Copy Code
Dim instance As StorageSqlDbDataAccessAgent
Dim command As IDbCommand
Dim matchingParamsCollection As Collection(Of CatalogElement())
 
instance.PrepareStudiesQueryCommand(command, matchingParamsCollection)
C# 
protected override void PrepareStudiesQueryCommand( 
   IDbCommand command,
   Collection<CatalogElement[]> matchingParamsCollection
)
C++/CLI 
protected:
void PrepareStudiesQueryCommand( 
   IDbCommand^ command,
   Collection<array<CatalogElement^>>^ matchingParamsCollection
) override 

Parameters

command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
matchingParamsCollection
Type: Collection of Leadtools.Medical.DataAccessLayer.Catalog.CatalogElement Array The matching parameters for the query.

Remarks

Note to inheritors:

The patient information should be included with the studies information.

Each Leadtools.Medical.DataAccessLayer.Catalog.CatalogElement is a matching parameter value.

All Leadtools.Medical.DataAccessLayer.Catalog.CatalogElement in an array will be combined with AND operation in the condition statement.

Each array in the collection will be combined with OR operation in the condition statement.

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