Aracılığıyla paylaş


RuntimeEntityType.IEntityType.FindPrimaryKey Yöntem

Tanım

Bu varlık türü için birincil anahtarı alır. Birincil anahtar tanımlanmadıysa döndürür null .

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IKey? IEntityType.FindPrimaryKey ();
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IKey IEntityType.FindPrimaryKey ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindPrimaryKey : unit -> Microsoft.EntityFrameworkCore.Metadata.IKey
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindPrimaryKey : unit -> Microsoft.EntityFrameworkCore.Metadata.IKey
Function FindPrimaryKey () As IKey Implements IEntityType.FindPrimaryKey

Döndürülenler

Birincil anahtar veya null tanımlı değilse.

Uygulamalar

Öznitelikler

Şunlara uygulanır