LEADTOOLS Medical (Leadtools.Medical.Storage.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PrepareInstanceQueryCommand Method
See Also 
Leadtools.Medical.Storage.DataAccessLayer Namespace > StorageSqlDbDataAccessAgent Class : PrepareInstanceQueryCommand 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 Composite Instance information using matching parameters.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub PrepareInstanceQueryCommand( _
   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.PrepareInstanceQueryCommand(command, matchingParamsCollection)
C# 
protected override void PrepareInstanceQueryCommand( 
   IDbCommand command,
   Collection<CatalogElement[]> matchingParamsCollection
)
C++/CLI 
protected:
void PrepareInstanceQueryCommand( 
   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, studies and series information should be included with the composite instances 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