Table<TEntity>.IsReadOnly Property


Gets a value that indicates whether 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

true if the entity type does not have a primary key; otherwise, false.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top