Partilhar via


SqlCeParameter Members

Represents a parameter to a SqlCeCommand and, optionally, its mapping to a DataSet column. This class cannot be inherited.

The following tables list the members exposed by the SqlCeParameter type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework SqlCeParameter Overloaded. Initializes a new instance of the SqlCeParameter class.

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework DbType Overridden. Gets or sets the DbType of the parameter.
Public property Supported by the .NET Compact Framework Direction Overridden. This property always returns ParameterDirection.Input for .NET Compact Framework Data Provider for SQL Server Compact Edition. Setting this property to a different value causes an InvalidOperationException to be thrown.
Public property Supported by the .NET Compact Framework IsNullable Overridden. Gets or sets a value indicating whether or not the parameter accepts null values.
Public property Supported by the .NET Compact Framework Offset  
Public property Supported by the .NET Compact Framework ParameterName Overridden. Gets or sets the name of the SqlCeParameter.
Public property Supported by the .NET Compact Framework Precision Gets or sets the maximum number of digits used to represent the Value property.
Public property Supported by the .NET Compact Framework Scale Gets or sets the number of decimal places to which Value is resolved.
Public property Supported by the .NET Compact Framework Size Overridden. Gets or sets the maximum length of the data within the column.
Public property Supported by the .NET Compact Framework SourceColumn Overridden. Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.
Public property Supported by the .NET Compact Framework SourceColumnNullMapping Overridden.  
Public property Supported by the .NET Compact Framework SourceVersion Overridden. Gets or sets the DataRowVersion to use when loading Value.
Public property Supported by the .NET Compact Framework SqlDbType Gets or sets the SqlDbType of the parameter.
Public property Supported by the .NET Compact Framework Value Overridden. Gets or sets the value of the parameter.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ResetDbType Overridden. Resets the type associated with this SqlCeParameter.
Public method Supported by the .NET Compact Framework ToString Overridden. Gets a string containing the ParameterName.

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.ICloneable.Clone For a description of this member, see Clone.

Top

See Also

Reference

SqlCeParameter Class
System.Data.SqlServerCe Namespace