Bagikan melalui


KeyDiscoveryConvention.ProcessKeyProperties Metode

Definisi

Menambahkan atau menghapus properti yang akan digunakan untuk kunci primer.

protected virtual void ProcessKeyProperties (System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> keyProperties, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
abstract member ProcessKeyProperties : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> unit
override this.ProcessKeyProperties : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> unit
Protected Overridable Sub ProcessKeyProperties (keyProperties As IList(Of IConventionProperty), entityType As IConventionEntityType)

Parameter

keyProperties
IList<IConventionProperty>

Properti yang akan digunakan untuk mengonfigurasi kunci.

entityType
IConventionEntityType

Jenis entitas sedang dikonfigurasi.

Berlaku untuk