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.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration

public class ConventionsConfiguration

NameDescription
System_CAPS_pubmethodAdd(IConvention[])

Enables one or more conventions for the DbModelBuilder.

System_CAPS_pubmethodAdd<TConvention>()

Enables a convention for the DbModelBuilder.

System_CAPS_pubmethodAddAfter<TExistingConvention>(IConvention)

Enables a convention for the DbModelBuilder. This convention will run after the one specified.

System_CAPS_pubmethodAddBefore<TExistingConvention>(IConvention)

Enables a configuration convention for the DbModelBuilder. This convention will run before the one specified.

System_CAPS_pubmethodAddFromAssembly(Assembly)

Discover all conventions in the given assembly and add them to the DbModelBuilder.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a particular type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(IConvention[])

Disables one or more conventions for the DbModelBuilder.

System_CAPS_pubmethodRemove<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.

System_CAPS_pubmethodToString()

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.