CollectionOwnershipBuilder.HasForeignKeyAnnotation(String, Object) Yöntem

Tanım

Yabancı anahtara ek açıklama ekler veya güncelleştirir. içinde annotation belirtilen anahtara sahip bir ek açıklama zaten varsa değeri güncelleştirilir.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder HasForeignKeyAnnotation (string annotation, object value);
abstract member HasForeignKeyAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder
override this.HasForeignKeyAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder
Public Overridable Function HasForeignKeyAnnotation (annotation As String, value As Object) As CollectionOwnershipBuilder

Parametreler

annotation
String

Eklenecek veya güncelleştirilecek ek açıklamanın anahtarı.

value
Object

Ek açıklamaya depolanacak değer.

Döndürülenler

Birden çok yapılandırma çağrısının zincirlenebilmesi için aynı oluşturucu örneği.

Şunlara uygulanır