UpdateSqlGeneratorDependencies.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(IRelationalTypeMappingSource) |
Clones this dependency parameter object with one service replaced. |
With(ISqlGenerationHelper) |
Clones this dependency parameter object with one service replaced. |
With(IRelationalTypeMappingSource)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Update.UpdateSqlGeneratorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Update.UpdateSqlGeneratorDependencies
Public Function With (typeMappingSource As IRelationalTypeMappingSource) As UpdateSqlGeneratorDependencies
Parameters
- typeMappingSource
- IRelationalTypeMappingSource
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(ISqlGenerationHelper)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Update.UpdateSqlGeneratorDependencies With (Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper);
member this.With : Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper -> Microsoft.EntityFrameworkCore.Update.UpdateSqlGeneratorDependencies
Public Function With (sqlGenerationHelper As ISqlGenerationHelper) As UpdateSqlGeneratorDependencies
Parameters
- sqlGenerationHelper
- ISqlGenerationHelper
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework