Share via


IndexAttribute-Konstruktor

[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.]

Erstellt eine neue IndexAttribute-Instanz für einen Index, der gemäß der Konvention benannt wird, und für den keine Spaltenreihenfolge, Gruppierung oder Eindeutigkeit angegeben ist.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New IndexAttribute()
public IndexAttribute()
public:
IndexAttribute()
new : unit -> IndexAttribute
public function IndexAttribute()

Siehe auch

Verweis

IndexAttribute Klasse

IndexAttribute-Überladung

System.ComponentModel.DataAnnotations.Schema-Namespace