SqlServerStoreGenerationConvention.Validate 方法

定义

重载

Validate(IConventionProperty)
Validate(IConventionProperty, StoreObjectIdentifier)

如果此属性的存储生成配置存在冲突,则引发 。

Validate(IConventionProperty)

protected override void Validate (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
override this.Validate : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> unit
Protected Overrides Sub Validate (property As IConventionProperty)

参数

适用于

Validate(IConventionProperty, StoreObjectIdentifier)

如果此属性的存储生成配置存在冲突,则引发 。

protected override void Validate (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
override this.Validate : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> unit
Protected Overrides Sub Validate (property As IConventionProperty, storeObject As StoreObjectIdentifier)

参数

property
IConventionProperty

要检查的属性。

storeObject
StoreObjectIdentifier

存储对象的标识符。

适用于