Sdílet prostřednictvím


SqlCeUpdatableRecord Class

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

Inheritance Hierarchy

System.Object
  System.Data.SqlServerCe.SqlCeUpdatableRecord

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Class SqlCeUpdatableRecord _
    Implements IDataRecord
'Usage
Dim instance As SqlCeUpdatableRecord
public class SqlCeUpdatableRecord : IDataRecord
public ref class SqlCeUpdatableRecord : IDataRecord
type SqlCeUpdatableRecord =  
    class
        interface IDataRecord
    end
public class SqlCeUpdatableRecord implements IDataRecord

The SqlCeUpdatableRecord type exposes the following members.

Properties

  Name Description
Public property FieldCount Returns the number of fields in the specified record.
Public property HiddenFieldCount Returns the number of hidden fields in the record. In SQL Server Compact, this property always returns 0.
Public property Item[Int32] Serves as an indexer to a specific field within the record.
Public property Item[String] Serves as an indexer to a specific field within the record.
Public property Updatable Specifies whether the field is updatable.

Top

Methods

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

Top

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Data.SqlServerCe Namespace