PropertyExtensions.IsUniqueIndex(IProperty) Yöntem

Tanım

Dikkat

Use IReadOnlyProperty.IsUniqueIndex

Bu özelliğin benzersiz bir dizin (veya benzersiz bileşik dizinin bir parçası) olarak mı kullan gerektiğini belirten bir değer alır.

public static bool IsUniqueIndex (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IReadOnlyProperty.IsUniqueIndex")]
public static bool IsUniqueIndex (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member IsUniqueIndex : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
[<System.Obsolete("Use IReadOnlyProperty.IsUniqueIndex")>]
static member IsUniqueIndex : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
<Extension()>
Public Function IsUniqueIndex (property As IProperty) As Boolean

Parametreler

property
IProperty

Denetlenecek özellik.

Döndürülenler

Boolean

true özelliği benzersiz bir dizin olarak kullanılıyorsa, aksi takdirde false .

Öznitelikler

Şunlara uygulanır