IsReadOnly Property
Collapse the table of content
Expand the table of content

Table<TEntity>.IsReadOnly Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft