RelationalModelValidator.ValidateJsonEntityKey Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Zweryfikuj klucz jednostki zamapowany na kolumnę JSON.
protected virtual void ValidateJsonEntityKey(in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Metadata.IEntityType jsonEntityType);
protected virtual void ValidateJsonEntityKey(in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier table, Microsoft.EntityFrameworkCore.Metadata.IEntityType jsonEntityType);
abstract member ValidateJsonEntityKey : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
override this.ValidateJsonEntityKey : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
abstract member ValidateJsonEntityKey : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
override this.ValidateJsonEntityKey : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
Protected Overridable Sub ValidateJsonEntityKey (storeObject As StoreObjectIdentifier, jsonEntityType As IEntityType)
Protected Overridable Sub ValidateJsonEntityKey (table As StoreObjectIdentifier, jsonEntityType As IEntityType)
Parametry
- storeObjecttable
- StoreObjectIdentifier
Obiekt magazynu.
- jsonEntityType
- IEntityType
Typ jednostki zawierającej klucz do zweryfikowania.