Bagikan melalui


SqlServerStoreGenerationConvention.Validate Metode

Definisi

Overload

Validate(IConventionProperty)
Validate(IConventionProperty, StoreObjectIdentifier)

Melemparkan jika ada konfigurasi pembuatan penyimpanan yang bertentangan untuk properti ini.

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)

Parameter

Berlaku untuk

Validate(IConventionProperty, StoreObjectIdentifier)

Melemparkan jika ada konfigurasi pembuatan penyimpanan yang bertentangan untuk properti ini.

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)

Parameter

property
IConventionProperty

Properti untuk diperiksa.

storeObject
StoreObjectIdentifier

Pengidentifikasi objek penyimpanan.

Berlaku untuk