次の方法で共有


PropertyInterceptionContext<TValue>.WithValue(TValue) メソッド

定義

このインターセプト コンテキスト内のすべてのコンテキスト情報と、指定されたプロパティ値を含む新しい BeginTransactionInterceptionContext を作成します。

public System.Data.Entity.Infrastructure.Interception.PropertyInterceptionContext<TValue> WithValue (TValue value);
member this.WithValue : 'Value -> System.Data.Entity.Infrastructure.Interception.PropertyInterceptionContext<'Value>
Public Function WithValue (value As TValue) As PropertyInterceptionContext(Of TValue)

パラメーター

value
TValue

ターゲット プロパティに割り当てられる値。

戻り値

指定されたプロパティ値に関連付けられた新しいインターセプト コンテキスト。

適用対象