Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. This configuration functionality is exposed by the Code First fluent API, see DbModelBuilder.
Assembly: EntityFramework (in EntityFramework.dll)
Thetype exposes the following members.
|Equals||Determines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides Object.Equals(Object).)|
|Finalize||(Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides Object.GetHashCode().)|
|GetType||Gets the type of the current instance. This method is hidden from IntelliSense.|
|MapInheritedProperties||Re-maps all properties inherited from base types. When configuring a derived type to be mapped to a separate table this will cause all properties to be included in the table rather than just the non-inherited properties. This is known as Table per Concrete Type (TPC) mapping.|
|MemberwiseClone||(Inherited from Object.)|
|Properties<TObject>||Configures the properties that will be included in this mapping fragment. If this method is not called then all properties that have not yet been included in a mapping fragment will be configured.|
|Requires(String)||Configures the discriminator column used to differentiate between types in an inheritance hierarchy.|
|Requires<TProperty>(Expression<Func<TEntityType, TProperty>>)||Configures the discriminator condition used to differentiate between types in an inheritance hierarchy.|
|ToString||Returns a string that represents the current object. This method is hidden from IntelliSense. (Overrides Object.ToString().)|
|ToTable(String)||Configures the table name to be mapped to.|
|ToTable(String, String)||Configures the table name and schema to be mapped to.|