Export (0) Print
Expand All

ConventionsConfiguration Class

Entity Framework 5.0

Allows the conventions used by a DbModelBuilder instance to be customized. Currently removal of one or more default conventions is the only supported operation. The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace.

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

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

public class ConventionsConfiguration

The ConventionsConfiguration type exposes the following members.

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the type of the current instance. This method is hidden from IntelliSense.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove<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.
Public methodToStringReturns a string that represents the current object. This method is hidden from IntelliSense. (Overrides Object.ToString().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft