ConventionSetBuilder.Remove 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
Remove(Type) |
Removes the convention of the given type. |
Remove<TImplementaion>() |
Remove the convention of the given type. |
Remove(Type)
Removes the convention of the given type.
public virtual void Remove (Type conventionType);
abstract member Remove : Type -> unit
override this.Remove : Type -> unit
Public Overridable Sub Remove (conventionType As Type)
Parameters
- conventionType
- Type
The convention type to remove.
Applies to
Remove<TImplementaion>()
Remove the convention of the given type.
public virtual void Remove<TImplementaion> () where TImplementaion : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention;
abstract member Remove : unit -> unit (requires 'Implementaion :> Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention)
override this.Remove : unit -> unit (requires 'Implementaion :> Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention)
Public Overridable Sub Remove(Of TImplementaion As IConvention) ()
Type Parameters
- TImplementaion
The type of convention to remove
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