SqlCeResultSet.Updatable Property

Determines whether values within the SqlCeResultSet can be modified.

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

public bool Updatable { get; }

Property Value

Type: System.Boolean
True if the values in the record can be modified; otherwise, false;

The default value is false.

Important noteImportant

Even if a SqlCeResultSet is marked as read-only (that is, Updatable is set to false), the columns will be marked as updateable in the Schema Table. Therefore, calls to any of the SqlCeResultSet.Setx methods will fail because the columns are updateable, but the SqlCeResultSet is not.