Share via


PropertyInterceptionContext<TValue>.WithValue(TValue) Method

Definition

Creates a new BeginTransactionInterceptionContext that contains all the contextual information in this interception context together with the given property value.

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)

Parameters

value
TValue

The value that will be assigned to the target property.

Returns

A new interception context associated with the given property value.

Applies to