Language

PropertiesConfigurationBuilder<TProperty>.HaveAnnotation メソッド

定義

プロパティの注釈を追加または更新します。 annotationで指定されたキーを持つ注釈が既に存在する場合は、その値が更新されます。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder<TProperty> HaveAnnotation(string annotation, object value);
override this.HaveAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder<'Property>
Public Overridable Function HaveAnnotation (annotation As String, value As Object) As PropertiesConfigurationBuilder(Of TProperty)

パラメーター

annotation
String

追加または更新する注釈のキー。

value
Object

注釈に格納する値。

戻り値

複数の構成呼び出しをチェーンできるように、同じビルダー インスタンス。

適用対象