ConventionTypeConfiguration Class
Allows configuration to be performed for an entity type in a model. This configuration functionality is available via lightweight conventions.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current instance.(Overrides Object.Equals(Object).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Returns the hash code for the current instance.(Overrides Object.GetHashCode().) |
![]() | GetType() | Gets the Type of the current instance. |
![]() | HasEntitySetName(String) | Configures the entity set name to be used for this entity type. The entity set name can only be configured for the base type in each set. |
![]() | HasKey(IEnumerable<PropertyInfo>) | Configures the primary key property(s) for this entity type. |
![]() | HasKey(IEnumerable<String>) | Configures the primary key property(s) for this entity type. |
![]() | HasKey(PropertyInfo) | Configures the primary key property for this entity type. |
![]() | HasKey(String) | Configures the primary key property for this entity type. |
![]() | HasTableAnnotation(String, Object) | Sets an annotation in the model for the table to which this entity is mapped. The annotation value can later be used when processing the table such as when creating migrations. |
![]() | Ignore() | Excludes this entity type from the model so that it will not be mapped to the database. |
![]() | Ignore(PropertyInfo) | Excludes a property from the model so that it will not be mapped to the database. |
![]() | Ignore(String) | Excludes a property from the model so that it will not be mapped to the database. |
![]() | IsComplexType() | Changes this entity type to a complex type. |
![]() | MapToStoredProcedures() | Configures this type to use stored procedures for insert, update and delete. The default conventions for procedure and parameter names will be used. |
![]() | MapToStoredProcedures(Action<ConventionModificationStoredProceduresConfiguration>) | Configures this type to use stored procedures for insert, update and delete. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Property(PropertyInfo) | Configures a property that is defined on this type. |
![]() | Property(String) | Configures a property that is defined on this type. |
![]() | ToString() | Returns the string representation of this instance.(Overrides Object.ToString().) |
![]() | ToTable(String) | Configures the table name that this entity type is mapped to. |
![]() | ToTable(String, String) | Configures the table name that this entity type is mapped to. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.