RelationalModelValidator.ValidateJsonEntityRoot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates the root entity mapped to a JSON column.
protected virtual void ValidateJsonEntityRoot (in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Metadata.IEntityType rootType);
abstract member ValidateJsonEntityRoot : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
override this.ValidateJsonEntityRoot : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
Protected Overridable Sub ValidateJsonEntityRoot (storeObject As StoreObjectIdentifier, rootType As IEntityType)
Parameters
- storeObject
- StoreObjectIdentifier
The store object.
- rootType
- IEntityType
The entity type to validate.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework