ManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType) Class
Entity Framework 5.0
Configures a many relationship from an entity type.
System.Object
System.Data.Entity.ModelConfiguration.Configuration.ManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType)
System.Data.Entity.ModelConfiguration.Configuration.ManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType)
Namespace: System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
'Declaration Public Class ManyNavigationPropertyConfiguration(Of TEntityType As Class, TTargetEntityType As Class) 'Usage Dim instance As ManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType)
Type Parameters
- TEntityType
The entity type that the relationship originates from.
- TTargetEntityType
The entity type that the relationship targets.
The ManyNavigationPropertyConfiguration(Of TEntityType, TTargetEntityType) 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 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. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. This method is hidden from IntelliSense. (Overrides Object.ToString.) |
![]() | WithMany | Configures the relationship to be many:many without a navigation property on the other side of the relationship. |
![]() | WithMany(Expression(Of Func(Of TTargetEntityType, ICollection(Of TEntityType)))) | Configures the relationship to be many:many with a navigation property on the other side of the relationship. |
![]() | WithOptional | Configures the relationship to be many:optional without a navigation property on the other side of the relationship. |
![]() | WithOptional(Expression(Of Func(Of TTargetEntityType, TEntityType))) | Configures the relationship to be many:optional with a navigation property on the other side of the relationship. |
![]() | WithRequired | Configures the relationship to be many:required without a navigation property on the other side of the relationship. |
![]() | WithRequired(Expression(Of Func(Of TTargetEntityType, TEntityType))) | Configures the relationship to be many:required with a navigation property on the other side of the relationship. |
Show:
