LEADTOOLS Medical (Leadtools.Medical.Storage.DataAccessLayer assembly)
LEAD Technologies, Inc

PrepareInstanceQueryCommand Method (StorageDbDataAccessAgent)






Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
Type: Collection of Leadtools.Medical.DataAccessLayer.Catalog.CatalogElement Array The matching parameters for the query.
Initializes a System.Data.IDbCommand object to query for Composite Instance information using matching parameters.
Syntax
protected abstract void PrepareInstanceQueryCommand( 
   IDbCommand command,
   Collection<CatalogElement[]> matchingParamsCollection
)
'Declaration
 
Protected MustOverride Sub PrepareInstanceQueryCommand( _
   ByVal command As IDbCommand, _
   ByVal matchingParamsCollection As Collection(Of CatalogElement()) _
) 
'Usage
 
Dim instance As StorageDbDataAccessAgent
Dim command As IDbCommand
Dim matchingParamsCollection As Collection(Of CatalogElement())
 
instance.PrepareInstanceQueryCommand(command, matchingParamsCollection)
protected abstract void PrepareInstanceQueryCommand( 
   IDbCommand command,
   Collection<CatalogElement[]> matchingParamsCollection
)
 function Leadtools.Medical.Storage.DataAccessLayer.StorageDbDataAccessAgent.PrepareInstanceQueryCommand( 
   command ,
   matchingParamsCollection 
)
protected:
abstract void PrepareInstanceQueryCommand( 
   IDbCommand^ command,
   Collection<array<CatalogElement^>>^ matchingParamsCollection
) 

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StorageDbDataAccessAgent Class
StorageDbDataAccessAgent Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Medical.Storage.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features