ModelCustomizerDependencies.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.
Overloads
With(IDbSetFinder) |
Clones this dependency parameter object with one service replaced. |
With(IDbSetFinder) |
Clones this dependency parameter object with one service replaced. |
With(IDbSetFinder)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Infrastructure.ModelCustomizerDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.IDbSetFinder setFinder);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.IDbSetFinder -> Microsoft.EntityFrameworkCore.Infrastructure.ModelCustomizerDependencies
Public Function With (setFinder As IDbSetFinder) As ModelCustomizerDependencies
Parameters
- setFinder
- IDbSetFinder
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IDbSetFinder)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Infrastructure.ModelCustomizerDependencies With (Microsoft.EntityFrameworkCore.Internal.IDbSetFinder setFinder);
member this.With : Microsoft.EntityFrameworkCore.Internal.IDbSetFinder -> Microsoft.EntityFrameworkCore.Infrastructure.ModelCustomizerDependencies
Public Function With (setFinder As IDbSetFinder) As ModelCustomizerDependencies
Parameters
- setFinder
- Microsoft.EntityFrameworkCore.Internal.IDbSetFinder
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework