Language

RuntimeAnnotatableBase.SetRuntimeAnnotation メソッド

定義

オーバーロード

Name 説明
SetRuntimeAnnotation(String, Object)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

SetRuntimeAnnotation(String, Annotation, Annotation)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

SetRuntimeAnnotation(String, Object)

ソース:
RuntimeAnnotatableBase.cs
ソース:
RuntimeAnnotatableBase.cs
ソース:
RuntimeAnnotatableBase.cs

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

public virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetRuntimeAnnotation(string name, object? value);
abstract member SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Public Overridable Function SetRuntimeAnnotation (name As String, value As Object) As Annotation

パラメーター

name
String

追加する注釈のキー。

value
Object

注釈に格納する値。

戻り値

適用対象

SetRuntimeAnnotation(String, Annotation, Annotation)

ソース:
RuntimeAnnotatableBase.cs
ソース:
RuntimeAnnotatableBase.cs
ソース:
RuntimeAnnotatableBase.cs

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

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

パラメーター

name
String

追加する注釈のキー。

annotation
Annotation

設定する注釈。

oldAnnotation
Annotation

置き換えられる注釈。

戻り値

設定された注釈。

適用対象