Share via


ModelNamespaceConvention Class

Definition

This DbModelBuilder convention uses the namespace of the derived DbContext class as the namespace of the conceptual model built by Code First.

public class ModelNamespaceConvention : System.Data.Entity.ModelConfiguration.Conventions.Convention
type ModelNamespaceConvention = class
    inherit Convention
Public Class ModelNamespaceConvention
Inherits Convention
Inheritance
ModelNamespaceConvention
Inheritance
ModelNamespaceConvention

Methods

Properties()

Begins configuration of a lightweight convention that applies to all properties in the model.

(Inherited from Convention)
Properties<T>()

Begins configuration of a lightweight convention that applies to all primitive properties of the specified type in the model.

(Inherited from Convention)
Types()

Begins configuration of a lightweight convention that applies to all mapped types in the model.

(Inherited from Convention)
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.

(Inherited from Convention)

Applies to