Aracılığıyla paylaş


ComplexPropertyBuilder.HasPropertyAnnotation(String, Object) Yöntem

Tanım

Karmaşık özelliğe 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.ComplexPropertyBuilder HasPropertyAnnotation(string annotation, object? value);
abstract member HasPropertyAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexPropertyBuilder
override this.HasPropertyAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexPropertyBuilder
Public Overridable Function HasPropertyAnnotation (annotation As String, value As Object) As ComplexPropertyBuilder

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