Share via


DbConnectionPropertyInterceptionContext<TValue>.WithValue Method

Definition

Creates a new DbConnectionPropertyInterceptionContext<TValue> that contains all the contextual information in this interception context together with the given property value.

public System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<TValue> WithValue (TValue value);
override this.WithValue : 'Value -> System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<'Value>
Public Function WithValue (value As TValue) As DbConnectionPropertyInterceptionContext(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