QueryTypeBuilder.HasAnnotation(String, Object) Yöntem

Tanım

Sorgu türü üzerine bir ek açıklama ekler veya güncelleştirir. Zaten ' de belirtilen anahtara sahip bir ek açıklama varsa, annotation değeri güncellenir.

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

Parametreler

annotation
String

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

value
Object

Ek açıklamada depolanacak değer.

Döndürülenler

QueryTypeBuilder

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

Şunlara uygulanır