ITable.IsReadOnly Property


Indicates if the type of the entities contained in this ITable instance has a primary key.

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

bool IsReadOnly { get; }

Property Value

Type: System.Boolean

Returns 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