AnnotatableBase.IAnnotatable.SetRuntimeAnnotation(String, Object) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Imposta l'annotazione di runtime archiviata sotto la chiave specificata. Sovrascrive l'annotazione esistente se esiste già un'annotazione con il nome specificato.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.SetRuntimeAnnotation (string name, object? value);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.SetRuntimeAnnotation (string name, object value);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function SetRuntimeAnnotation (name As String, value As Object) As IAnnotation Implements IAnnotatable.SetRuntimeAnnotation
Parametri
- name
- String
Nome dell'annotazione da aggiungere.
- value
- Object
Valore da archiviare nell'annotazione.
Restituisce
Annotazione appena aggiunta.
Implementazioni
- Attributi
Si applica a
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per