DbParameter Class
.NET Framework 2.0
Note: This class is new in the .NET Framework version 2.0.
Represents a parameter to a DbCommand and optionally, its mapping to a DataSet column.
Namespace: System.Data.Common
Assembly: System.Data (in system.data.dll)
Assembly: System.Data (in system.data.dll)
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Implement ICloneable
If you are writing a custom data provider, and want it to work the the parameter caching in Microsoft's Patterns and Practices Enterprise Library Data Access Application Block (http://msdn.microsoft.com/practices/guidetype/AppBlocks/default.aspx?pull=/library/en-us/dnpag2/html/daab.asp), you'll want your Parameter class to implement ICloneable. SqlParameter, OleDbParameter and OdbcParameter all do.
- 8/7/2006
- AmosFiveSix
- 8/7/2006
- AmosFiveSix