Condividi tramite


Annotatable.SetAnnotation Metodo

Definizione

Overload

SetAnnotation(String, Annotation)

Imposta l'annotazione archiviata sotto la chiave specificata. Sovrascrive l'annotazione esistente se esiste già un'annotazione con il nome specificato.

SetAnnotation(String, Object)

Imposta l'annotazione archiviata sotto la chiave specificata. Sovrascrive l'annotazione esistente se esiste già un'annotazione con il nome specificato.

SetAnnotation(String, Annotation, Annotation)

Imposta l'annotazione archiviata sotto la chiave specificata. Sovrascrive l'annotazione esistente se esiste già un'annotazione con il nome specificato.

SetAnnotation(String, Annotation)

Imposta l'annotazione archiviata sotto la chiave specificata. Sovrascrive l'annotazione esistente se esiste già un'annotazione con il nome specificato.

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetAnnotation (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation);
abstract member SetAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function SetAnnotation (name As String, annotation As Annotation) As Annotation

Parametri

name
String

Chiave dell'annotazione da aggiungere.

annotation
Annotation

Annotazione da impostare.

Restituisce

Annotazione impostata.

Si applica a

SetAnnotation(String, Object)

Imposta l'annotazione archiviata sotto la chiave specificata. Sovrascrive l'annotazione esistente se esiste già un'annotazione con il nome specificato.

public virtual void SetAnnotation (string name, object value);
abstract member SetAnnotation : string * obj -> unit
override this.SetAnnotation : string * obj -> unit
Public Overridable Sub SetAnnotation (name As String, value As Object)

Parametri

name
String

Chiave dell'annotazione da aggiungere.

value
Object

Valore da archiviare nell'annotazione.

Implementazioni

Si applica a

SetAnnotation(String, Annotation, Annotation)

Imposta l'annotazione archiviata sotto la chiave specificata. Sovrascrive l'annotazione esistente se esiste già un'annotazione con il nome specificato.

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetAnnotation (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation oldAnnotation);
abstract member SetAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function SetAnnotation (name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation

Parametri

name
String

Chiave dell'annotazione da aggiungere.

annotation
Annotation

Annotazione da impostare.

oldAnnotation
Annotation

Annotazione da sostituire.

Restituisce

Annotazione impostata.

Si applica a