PropertyInterceptionContext<TValue>.WithValue(TValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework