ValueGeneratorSelectorDependencies.With(IValueGeneratorCache) 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.ValueGeneration.ValueGeneratorSelectorDependencies With (Microsoft.EntityFrameworkCore.ValueGeneration.IValueGeneratorCache cache);
member this.With : Microsoft.EntityFrameworkCore.ValueGeneration.IValueGeneratorCache -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorSelectorDependencies
Public Function With (cache As IValueGeneratorCache) As ValueGeneratorSelectorDependencies
Parameters
- cache
- IValueGeneratorCache
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework