ConventionTypeConfiguration.Ignore Method

 

Excludes this entity type from the model so that it will not be mapped to the database.

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

NameDescription
System_CAPS_pubmethodIgnore()

Excludes this entity type from the model so that it will not be mapped to the database.

System_CAPS_pubmethodIgnore(PropertyInfo)

Excludes a property from the model so that it will not be mapped to the database.

System_CAPS_pubmethodIgnore(String)

Excludes a property from the model so that it will not be mapped to the database.


ConventionTypeConfiguration.Ignore Method ()

Excludes this entity type from the model so that it will not be mapped to the database.

public ConventionTypeConfiguration Ignore()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration

The same ConventionTypeConfiguration instance so that multiple calls can be chained.


ConventionTypeConfiguration.Ignore Method (PropertyInfo)

Excludes a property from the model so that it will not be mapped to the database.

public ConventionTypeConfiguration Ignore(
	PropertyInfo propertyInfo
)

Parameters

propertyInfo
Type: System.Reflection.PropertyInfo

The property to be configured.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration

The same ConventionTypeConfiguration instance so that multiple calls can be chained.

Calling this will have no effect if the property does not exist.


ConventionTypeConfiguration.Ignore Method (String)

Excludes a property from the model so that it will not be mapped to the database.

public ConventionTypeConfiguration Ignore(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the property to be configured.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration

The same ConventionTypeConfiguration instance so that multiple calls can be chained.

Calling this will have no effect if the property does not exist.