DbContextOptions<TContext>.WithoutExtension<TExtension> 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.
Removes the given extension from the underlying options and creates a new DbContextOptions with the extension removed.
public override Microsoft.EntityFrameworkCore.DbContextOptions WithoutExtension<TExtension>() where TExtension : class, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension;
override this.WithoutExtension : unit -> Microsoft.EntityFrameworkCore.DbContextOptions (requires 'Extension : null and 'Extension :> Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtension)
Public Overrides Function WithoutExtension(Of TExtension As {Class, IDbContextOptionsExtension}) () As DbContextOptions
Type Parameters
- TExtension
The type of extension to be removed.
Returns
The new options instance with the extension removed.