ConventionAnnotatable.IMutableAnnotatable.SetAnnotation Yöntem

Tanım

Verilen anahtar altında depolanan ek açıklamayı ayarlar. Belirtilen ada sahip bir ek açıklama zaten varsa mevcut ek açıklamanın üzerine yazar.

[System.Diagnostics.DebuggerStepThrough]
void IMutableAnnotatable.SetAnnotation (string name, object value);
[System.Diagnostics.DebuggerStepThrough]
void IMutableAnnotatable.SetAnnotation (string name, object? value);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.SetAnnotation : string * obj -> unit
override this.Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.SetAnnotation : string * obj -> unit
Sub SetAnnotation (name As String, value As Object) Implements IMutableAnnotatable.SetAnnotation

Parametreler

name
String

Eklenecek ek açıklamanın adı.

value
Object

Ek açıklamaya depolanacak değer.

Uygulamalar

Öznitelikler

Şunlara uygulanır