ForeignKeyNavigationPropertyConfiguration Class

 

Configures a relationship that can only support foreign key properties that are not exposed in the object model. This configuration functionality is available via the Code First Fluent API, see DbModelBuilder.

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


public class ForeignKeyNavigationPropertyConfiguration : CascadableNavigationPropertyConfiguration

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

Gets the type of the current instance.

System_CAPS_pubmethodMap(Action<ForeignKeyAssociationMappingConfiguration>)

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.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodWillCascadeOnDelete()

Configures cascade delete to be on for the relationship.(Inherited from CascadableNavigationPropertyConfiguration.)

System_CAPS_pubmethodWillCascadeOnDelete(Boolean)

Configures whether or not cascade delete is on for the relationship.(Inherited from CascadableNavigationPropertyConfiguration.)

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