RelationalCompiledQueryCacheKeyGeneratorDependencies.With 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.
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.RelationalCompiledQueryCacheKeyGeneratorDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions contextOptions);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> Microsoft.EntityFrameworkCore.Query.RelationalCompiledQueryCacheKeyGeneratorDependencies
Public Function With (contextOptions As IDbContextOptions) As RelationalCompiledQueryCacheKeyGeneratorDependencies
Parameters
- contextOptions
- IDbContextOptions
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
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