ConventionsConfiguration Class
Allows the conventions used by a DbModelBuilder instance to be customized. The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Add(IConvention[]) | Enables one or more conventions for the DbModelBuilder. |
![]() | Add<TConvention>() | Enables a convention for the DbModelBuilder. |
![]() | AddAfter<TExistingConvention>(IConvention) | Enables a convention for the DbModelBuilder. This convention will run after the one specified. |
![]() | AddBefore<TExistingConvention>(IConvention) | Enables a configuration convention for the DbModelBuilder. This convention will run before the one specified. |
![]() | AddFromAssembly(Assembly) | Discover all conventions in the given assembly and add them to the DbModelBuilder. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Overrides Object.Equals(Object).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Serves as a hash function for a particular type.(Overrides Object.GetHashCode().) |
![]() | GetType() | Gets the Type of the current instance. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(IConvention[]) | Disables one or more conventions for the DbModelBuilder. |
![]() | Remove<TConvention>() | Disables a convention for the DbModelBuilder. The default conventions that are available for removal can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. |
![]() | ToString() | Returns a string that represents the current object.(Overrides Object.ToString().) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.