Export (0) Print
Expand All

SqlParameter Members

Represents a parameter to a SqlCommand and optionally its mapping to DataSet columns. This class cannot be inherited.

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

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

  Name Description
Public property CompareInfo Gets or sets the CompareInfo object that defines how string comparisons should be performed for this parameter.
Public property Supported by the .NET Compact Framework DbType Overridden. Gets or sets the SqlDbType of the parameter.
Public property Supported by the .NET Compact Framework Direction Overridden. Gets or sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
Public property Supported by the .NET Compact Framework IsNullable Overridden. Gets or sets a value that indicates whether the parameter accepts null values.
Public property LocaleId Gets or sets the locale identifier that determines conventions and language for a particular region.
Public property Supported by the .NET Compact Framework Offset Gets or sets the offset to the Value property.
Public property Supported by the .NET Compact Framework ParameterName Overridden. Gets or sets the name of the SqlParameter.
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 size, in bytes, 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 SourceColumnNullMapping Overridden. Sets or gets a value which indicates whether the source column is nullable. This allows SqlCommandBuilder to correctly generate Update statements for nullable columns.
Public property Supported by the .NET Compact Framework SourceVersion Overridden. Gets or sets the DataRowVersion to use when you load Value
Public property Supported by the .NET Compact Framework SqlDbType Gets or sets the SqlDbType of the parameter.
Public property SqlValue Gets or sets the value of the parameter as an SQL type.
Public property UdtTypeName Gets or sets a string that represents a user-defined type as a parameter.
Public property Supported by the .NET Compact Framework Value Overridden. Gets or sets the value of the parameter.
Public property XmlSchemaCollectionDatabase Gets the name of the database where the schema collection for this XML instance is located.
Public property XmlSchemaCollectionName Gets the name of the schema collection for this XML instance.
Public property XmlSchemaCollectionOwningSchema The owning relational schema where the schema collection for this XML instance is located.
Top

(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 ResetDbType Overridden. Resets the type associated with this SqlParameter.
Public method ResetSqlDbType Resets the type associated with this SqlParameter.
Public method Supported by the .NET Compact Framework ToString Overridden. Gets a string that contains the ParameterName.
Top

  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

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

Community Additions

ADD
Show:
© 2014 Microsoft