DbConnectionPropertyInterceptionContext<TValue>.WithValue 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 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
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