StoreGeneratedIdentityKeyConvention Class

Definition

Convention to configure integer primary keys to be identity.

public class StoreGeneratedIdentityKeyConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.EntityType>
type StoreGeneratedIdentityKeyConvention = class
    interface IConceptualModelConvention<EntityType>
    interface IConvention
Public Class StoreGeneratedIdentityKeyConvention
Implements IConceptualModelConvention(Of EntityType)
Inheritance
StoreGeneratedIdentityKeyConvention
Implements

Constructors

StoreGeneratedIdentityKeyConvention()

Methods

Apply(EntityType, DbModel)

Applies this convention to an item in the model.

Applies to