SqlServerStoreGenerationConvention.Validate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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)
參數
- property
- 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
儲存物件的識別碼。