Table<TEntity>.IsReadOnly Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Indicates if the type of the entities contained in this Table<TEntity> instance has a primary key.

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

Syntax

'Declaration
Public ReadOnly Property IsReadOnly As Boolean
public bool IsReadOnly { get; }

Property Value

Type: System.Boolean
Returns true if the entity type does not have a primary key; otherwise, false.

Implements

ITable.IsReadOnly

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.