DbFunctionBuilder.HasAnnotation(String, Object) Yöntem

Tanım

Veritabanı işlevine 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.DbFunctionBuilder HasAnnotation (string annotation, object? value);
abstract member HasAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder
override this.HasAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder
Public Overridable Function HasAnnotation (annotation As String, value As Object) As DbFunctionBuilder

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