Share via


IndexAttribute.IsUniqueConfigured-Eigenschaft

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Ruft ab oder legt fest, ob IsUnique auf einen Wert festgelegt wurde.

Namespace:  System.ComponentModel.DataAnnotations.Schema
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property IsUniqueConfigured As Boolean 
    Get
'Usage
Dim instance As IndexAttribute 
Dim value As Boolean 

value = instance.IsUniqueConfigured
public virtual bool IsUniqueConfigured { get; }
public:
virtual property bool IsUniqueConfigured {
    bool get ();
}
abstract IsUniqueConfigured : bool 
override IsUniqueConfigured : bool
function get IsUniqueConfigured () : boolean

Eigenschaftswert

Typ: System.Boolean
true , wenn IsUnique auf einen Wert festgelegt wurde, andernfalls false.

Siehe auch

Verweis

IndexAttribute Klasse

System.ComponentModel.DataAnnotations.Schema-Namespace