語言

SqlServerStoreGenerationConvention.Validate 方法

定義

多載

名稱 Description
Validate(IConventionProperty)
Validate(IConventionProperty, StoreObjectIdentifier)

如果這個屬性的商店生成設定有衝突,則會丟出。

Validate(IConventionProperty)

來源:
SqlServerStoreGenerationConvention.cs
來源:
SqlServerStoreGenerationConvention.cs
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)

來源:
SqlServerStoreGenerationConvention.cs
來源:
SqlServerStoreGenerationConvention.cs
來源:
SqlServerStoreGenerationConvention.cs
來源:
SqlServerStoreGenerationConvention.cs
來源:
SqlServerStoreGenerationConvention.cs
來源:
SqlServerStoreGenerationConvention.cs
來源:
SqlServerStoreGenerationConvention.cs

如果這個屬性的商店生成設定有衝突,則會丟出。

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

儲存物件的識別碼。

適用於