StoreGenerationConvention.Validate 方法

定义

重载

Validate(IConventionProperty)

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

Validate(IConventionProperty, StoreObjectIdentifier)

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

Validate(IConventionProperty)

Source:
StoreGenerationConvention.cs
Source:
StoreGenerationConvention.cs

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

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)

参数

property
IConventionProperty

要检查的属性。

适用于

Validate(IConventionProperty, StoreObjectIdentifier)

Source:
StoreGenerationConvention.cs
Source:
StoreGenerationConvention.cs
Source:
StoreGenerationConvention.cs
Source:
StoreGenerationConvention.cs
Source:
StoreGenerationConvention.cs

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

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)

参数

property
IConventionProperty

要检查的属性。

storeObject
StoreObjectIdentifier

存储对象的标识符。

适用于