ManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType> Class

 

Configures a many relationship from an entity type.

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

System.Object
  System.Data.Entity.ModelConfiguration.Configuration.ManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>

public class ManyNavigationPropertyConfiguration<TEntityType, TTargetEntityType>
where TEntityType : class
where TTargetEntityType : class

Type Parameters

TEntityType

The entity type that the relationship originates from.

TTargetEntityType

The entity type that the relationship targets.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a particular type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides Object.ToString().)

System_CAPS_pubmethodWithMany()

Configures the relationship to be many:many without a navigation property on the other side of the relationship.

System_CAPS_pubmethodWithMany(Expression<Func<TTargetEntityType, ICollection<TEntityType>>>)

Configures the relationship to be many:many with a navigation property on the other side of the relationship.

System_CAPS_pubmethodWithOptional()

Configures the relationship to be many:optional without a navigation property on the other side of the relationship.

System_CAPS_pubmethodWithOptional(Expression<Func<TTargetEntityType, TEntityType>>)

Configures the relationship to be many:optional with a navigation property on the other side of the relationship.

System_CAPS_pubmethodWithRequired()

Configures the relationship to be many:required without a navigation property on the other side of the relationship.

System_CAPS_pubmethodWithRequired(Expression<Func<TTargetEntityType, TEntityType>>)

Configures the relationship to be many:required with a navigation property on the other side of the relationship.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.