Dynamicweb 8 Documentation
MakeParameter Method

The name of the parameter as defined in the commandtext
The value to be inserted in this field
System.Data.DbType definition of this field in the database
Returns a database System.Data.IDbDataParameter object suitable for the type of database used by the solution.
Syntax
'Declaration
 
Public Shared Function MakeParameter( _ 
   ByVal Name As String, _ 
   ByVal Value As Object, _ 
   ByVal DbType As DbType _ 
) As IDbDataParameter
public static IDbDataParameter MakeParameter( 
   string Name,
   object Value,
   DbType DbType 
)

Parameters

Name
The name of the parameter as defined in the commandtext
Value
The value to be inserted in this field
DbType
System.Data.DbType definition of this field in the database
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

Logger Class
Logger Members

Send Feedback