StoreGenerationConvention.Validate 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.
Overloads
Validate(IConventionProperty) |
Throws if there is conflicting store generation configuration for this property. |
Validate(IConventionProperty, StoreObjectIdentifier) |
Throws if there is conflicting store generation configuration for this property. |
Validate(IConventionProperty)
Throws if there is conflicting store generation configuration for this property.
protected virtual void Validate (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
abstract member Validate : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> unit
override this.Validate : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> unit
Protected Overridable Sub Validate (property As IConventionProperty)
Parameters
- property
- IConventionProperty
The property to check.
Applies to
Validate(IConventionProperty, StoreObjectIdentifier)
Throws if there is conflicting store generation configuration for this property.
protected virtual void Validate (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member Validate : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> unit
override this.Validate : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> unit
Protected Overridable Sub Validate (property As IConventionProperty, storeObject As StoreObjectIdentifier)
Parameters
- property
- IConventionProperty
The property to check.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Applies to
Entity Framework