다음을 통해 공유


DbConnectionPropertyInterceptionContext<TValue>.WithValue 메서드

정의

이 가로채기 컨텍스트의 모든 컨텍스트 정보를 지정된 속성 값과 함께 포함하는 새 DbConnectionPropertyInterceptionContext<TValue> 을 만듭니다.

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)

매개 변수

value
TValue

대상 속성에 할당할 값입니다.

반환

지정된 속성 값과 연결된 새 가로채기 컨텍스트입니다.

적용 대상