Convention Class
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.
A convention that doesn't override configuration.
public class Convention : System.Data.Entity.ModelConfiguration.Conventions.IConvention
type Convention = class
interface IConvention
Public Class Convention
Implements IConvention
- Inheritance
-
Convention
- Derived
- Implements
Constructors
Convention() |
The derived class can use the default constructor to apply a set rule of that change the model configuration. |
Methods
Properties() |
Begins configuration of a lightweight convention that applies to all properties in the model. |
Properties<T>() |
Begins configuration of a lightweight convention that applies to all primitive properties of the specified type in the model. |
Types() |
Begins configuration of a lightweight convention that applies to all mapped types in the model. |
Types<T>() |
Begins configuration of a lightweight convention that applies to all mapped types in the model that derive from or implement the specified type. |
Applies to
Entity Framework