Share via


ComplexTypeDiscoveryConvention Class

Definition

Convention to configure a type as a complex type if it has no primary key, no mapped base type and no navigation properties.

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

Constructors

ComplexTypeDiscoveryConvention()

Methods

Apply(EdmModel, DbModel)

Applies this convention to an item in the model.

Applies to