FCFL.NET Common Library - API Reference
PrepareParameter Method (DbProvider)

The parameter to prepare for the query
The type of query being performed
Prepares a parameter for the specified type of query according to the rules of the underlying database type
Syntax
'Declaration
 
Public Overridable Sub PrepareParameter( _
   ByVal param As IDbDataParameter, _
   ByVal cmdType As CommandType _
) 
public virtual void PrepareParameter( 
   IDbDataParameter param,
   CommandType cmdType
)

Parameters

param
The parameter to prepare for the query
cmdType
The type of query being performed
Remarks
Different database types and even different query types within the same database type have different requirements for how parameters must be named or formatted. This method allows the specific DbProvider to prepare the parameter as appropriate.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

DbProvider Class
DbProvider Members

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.