共用方式為


SqlCeUpdatableRecord Members

Represents a row of updatable values from the data source. A SqlCeResultSet object contains one or more UpdatableRecords.

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

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework FieldCount Returns the number of fields in the specified record.
Public property Supported by the .NET Compact Framework HiddenFieldCount Returns the number of hidden fields in the record. In Microsoft SQL Server 2005 Compact Edition, this property always returns 0.
Public property Supported by the .NET Compact Framework Item Overloaded. Serves as an indexer to a specific field within the record.
Public property Supported by the .NET Compact Framework Updatable Specifies whether the field is updatable.

Top

Public Methods

(see also Protected Methods )

  Name Description
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 GetBoolean Returns the value of the specified field as bool.
Public method Supported by the .NET Compact Framework GetByte Returns the value of the specified field as byte.
Public method Supported by the .NET Compact Framework GetBytes Copies a length of bytes into the buffer, starting at a specified position in the specified field.
Public method Supported by the .NET Compact Framework GetChar Returns the value of the specified field as char.
Public method Supported by the .NET Compact Framework GetChars Copies a length of chars into the buffer, starting at a specified position in the specified field.
Public method Supported by the .NET Compact Framework GetData Returns a SqlCeDataReader positioned on the current record.
Public method Supported by the .NET Compact Framework GetDataTypeName Returns the datatype name for the specified field.
Public method Supported by the .NET Compact Framework GetDateTime Returns the value of the specified field as DateTime.
Public method Supported by the .NET Compact Framework GetDecimal Returns the value of the specified field as decimal.
Public method Supported by the .NET Compact Framework GetDouble Returns the value of the specified field as double.
Public method Supported by the .NET Compact Framework GetFieldType Returns the CLR datatype for the specified field.
Public method Supported by the .NET Compact Framework GetFloat Returns the value of the specified field as float.
Public method Supported by the .NET Compact Framework GetGuid Returns the value of the specified field as a GUID.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetInt16 Returns the value of the specified field as int16.
Public method Supported by the .NET Compact Framework GetInt32 Returns the value of the specified field as int32.
Public method Supported by the .NET Compact Framework GetInt64 Returns the value of the specified field as int64.
Public method Supported by the .NET Compact Framework GetName Returns the name of the specified field.
Public method Supported by the .NET Compact Framework GetOrdinal Returns the ordinal for the field specified in the passed-in name.
Public method Supported by the .NET Compact Framework GetSqlBinary Returns the value of the specified field as SqlBinary.
Public method Supported by the .NET Compact Framework GetSqlBoolean Returns the value of the specified field as SqlBoolean.
Public method Supported by the .NET Compact Framework GetSqlByte Returns the value of the specified field as SqlByte.
Public method Supported by the .NET Compact Framework GetSqlBytesRef Returns a reference to the SqlBytes instance that contains the value of the specified field.
Public method Supported by the .NET Compact Framework GetSqlCharsRef Returns a reference to the SqlChars instance that contains the value of the specified field.
Public method Supported by the .NET Compact Framework GetSqlDateTime Returns the value of the specified field as SqlDateTime.
Public method Supported by the .NET Compact Framework GetSqlDecimal Returns the value of the specified field as SqlDecimal.
Public method Supported by the .NET Compact Framework GetSqlDouble Returns the value of the specified field as SqlDouble.
Public method Supported by the .NET Compact Framework GetSqlGuid Returns the value of the specified field as SqlGuid.
Public method Supported by the .NET Compact Framework GetSqlInt16 Returns the value of the specified field as SqlInt16.
Public method Supported by the .NET Compact Framework GetSqlInt32 Returns the value of the specified field as SqlInt32.
Public method Supported by the .NET Compact Framework GetSqlInt64 Returns the value of the specified field as SqlInt64.
Public method Supported by the .NET Compact Framework GetSqlMetaData Returns the value of the specified field as SqlMetaData.
Public method Supported by the .NET Compact Framework GetSqlMoney Returns the value of the specified field as SqlMoney.
Public method Supported by the .NET Compact Framework GetSqlSingle Returns the value of the specified field as SqlSingle.
Public method Supported by the .NET Compact Framework GetSqlString Returns the value of the specified field as SqlString.
Public method Supported by the .NET Compact Framework GetString Returns the value of the specified field as string.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework GetValue Returns the value of the specified record.
Public method Supported by the .NET Compact Framework GetValues Returns the values for all of the fields in a record.
Public method Supported by the .NET Compact Framework IsDBNull Determines if the specified field is NULL.
Public method Supported by the .NET Compact Framework IsSetAsDefault Determines if the specified field is marked to use the underlying default value.
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 SetBoolean Sets the column at the specified index to the passed-in bool value.
Public method Supported by the .NET Compact Framework SetByte Sets the column at the specified index to the passed-in byte value.
Public method Supported by the .NET Compact Framework SetBytes Copies a length of bytes from the specified buffer to the specified column, starting at the specified location within that field.
Public method Supported by the .NET Compact Framework SetChar Sets the column at the specified index to the passed-in char value.
Public method Supported by the .NET Compact Framework SetChars Copies a length of chars from the specified buffer to the specified field, starting at the specified location within that field.
Public method Supported by the .NET Compact Framework SetDateTime Sets the column at the specified index to the passed-in DateTime value.
Public method Supported by the .NET Compact Framework SetDecimal Sets the column at the specified index to the passed-in decimal value.
Public method Supported by the .NET Compact Framework SetDefault Sets the default value for the specified field.
Public method Supported by the .NET Compact Framework SetDouble Sets the column at the specified index to the passed-in double value.
Public method Supported by the .NET Compact Framework SetFloat Sets the column at the specified index to the passed-in float value.
Public method Supported by the .NET Compact Framework SetGuid Sets the column at the specified index to the passed-in GUID value.
Public method Supported by the .NET Compact Framework SetInt16 Sets the column at the specified index to the passed-in int16 value.
Public method Supported by the .NET Compact Framework SetInt32 Sets the column at the specified index to the passed-in int32 value.
Public method Supported by the .NET Compact Framework SetInt64 Sets the column at the specified index to the passed-in int64 value.
Public method Supported by the .NET Compact Framework SetObjectRef Sets the value of the specified field by reference rather than by-value.
Public method Supported by the .NET Compact Framework SetSqlBinary Sets the column at the specified index to the passed-in SqlBinary value.
Public method Supported by the .NET Compact Framework SetSqlBoolean Sets the column at the specified index to the passed-in SqlBool value.
Public method Supported by the .NET Compact Framework SetSqlByte Sets the column at the specified index to the passed-in SqlByte value.
Public method Supported by the .NET Compact Framework SetSqlDateTime Sets the column at the specified index to the passed-in SqlDateTime value.
Public method Supported by the .NET Compact Framework SetSqlDecimal Sets the column at the specified index to the passed-in SqlDecimal value.
Public method Supported by the .NET Compact Framework SetSqlDouble Sets the column at the specified index to the passed-in SqlDouble value.
Public method Supported by the .NET Compact Framework SetSqlGuid Sets the column at the specified index to the passed-in SqlGuid value.
Public method Supported by the .NET Compact Framework SetSqlInt16 Sets the column at the specified index to the passed-in SqlInt16 value.
Public method Supported by the .NET Compact Framework SetSqlInt32 Sets the column at the specified index to the passed-in SqlInt32 value.
Public method Supported by the .NET Compact Framework SetSqlInt64 Sets the column at the specified index to the passed-in SqlInt64 value.
Public method Supported by the .NET Compact Framework SetSqlMoney Sets the column at the specified index to the passed-in SqlMoney value.
Public method Supported by the .NET Compact Framework SetSqlSingle Sets the column at the specified index to the passed-in SqlSingle value.
Public method Supported by the .NET Compact Framework SetSqlString Sets the column at the specified index to the passed-in SqlString value.
Public method Supported by the .NET Compact Framework SetString Sets the column at the specified index to the passed-in string value.
Public method Supported by the .NET Compact Framework SetValue Sets the column at the specified index to the passed-in value.
Public method Supported by the .NET Compact Framework SetValues Sets each of the fields in the record to the corresponding value in the passed-in array.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)

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  Creates a shallow copy of the current Object. (inherited from Object)

Top

See Also

Reference

SqlCeUpdatableRecord Class
System.Data.SqlServerCe Namespace