ForeignKeyNavigationPropertyConfiguration Class
Entity Framework 5.0
Configures a relationship that can only support foreign key properties that are not exposed in the object model. This configuration functionality is exposed by the Code First fluent API, see DbModelBuilder.
System.Object
System.Data.Entity.ModelConfiguration.Configuration.CascadableNavigationPropertyConfiguration
System.Data.Entity.ModelConfiguration.Configuration.ForeignKeyNavigationPropertyConfiguration
System.Data.Entity.ModelConfiguration.Configuration.DependentNavigationPropertyConfiguration(Of TDependentEntityType)
System.Data.Entity.ModelConfiguration.Configuration.CascadableNavigationPropertyConfiguration
System.Data.Entity.ModelConfiguration.Configuration.ForeignKeyNavigationPropertyConfiguration
System.Data.Entity.ModelConfiguration.Configuration.DependentNavigationPropertyConfiguration(Of TDependentEntityType)
Namespace: System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
The ForeignKeyNavigationPropertyConfiguration type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides CascadableNavigationPropertyConfiguration.Equals(Object).) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides CascadableNavigationPropertyConfiguration.GetHashCode.) |
![]() | GetType | Gets the type of the current instance. This method is hidden from IntelliSense. |
![]() | Map | Configures the relationship to use foreign key property(s) that are not exposed in the object model. The column(s) and table can be customized by specifying a configuration action. If an empty configuration action is specified then column name(s) will be generated by convention. If foreign key properties are exposed in the object model then use the HasForeignKey method. Not all relationships support exposing foreign key properties in the object model. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. This method is hidden from IntelliSense. (Overrides CascadableNavigationPropertyConfiguration.ToString.) |
![]() | WillCascadeOnDelete | Configures cascade delete to be on for the relationship. (Inherited from CascadableNavigationPropertyConfiguration.) |
![]() | WillCascadeOnDelete(Boolean) | Configures whether or not cascade delete is on for the relationship. (Inherited from CascadableNavigationPropertyConfiguration.) |
Show:
