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

PreparePatientsQueryCountCommand Method (StorageSqlDbDataAccessAgent)






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 patients count using matching parameters.
Syntax
protected override void PreparePatientsQueryCountCommand( 
   IDbCommand command,
   Collection<CatalogElement[]> matchingParamsCollection
)
'Declaration
 
Protected Overrides Sub PreparePatientsQueryCountCommand( _
   ByVal command As IDbCommand, _
   ByVal matchingParamsCollection As Collection(Of CatalogElement()) _
) 
'Usage
 
Dim instance As StorageSqlDbDataAccessAgent
Dim command As IDbCommand
Dim matchingParamsCollection As Collection(Of CatalogElement())
 
instance.PreparePatientsQueryCountCommand(command, matchingParamsCollection)
protected override void PreparePatientsQueryCountCommand( 
   IDbCommand command,
   Collection<CatalogElement[]> matchingParamsCollection
)
 function Leadtools.Medical.Storage.DataAccessLayer.StorageSqlDbDataAccessAgent.PreparePatientsQueryCountCommand( 
   command ,
   matchingParamsCollection 
)
protected:
void PreparePatientsQueryCountCommand( 
   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:

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

StorageSqlDbDataAccessAgent Class
StorageSqlDbDataAccessAgent 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