Association Properties

Entity Framework association has the following properties.

 

Code Generation

Documentation

Long Description

Detailed description for the association.

Summary

Brief description for the association.

Ends

End 1 and End 2 are property sets of the parent and child classes correspondingly.

Attributes

Specifies attributes of the object.

Documentation

Long Description

Detailed description for the association.

Summary

Brief description for the association.

Generate

Determines whether the related property should be generated.

Getter

Specifies access modifier for the getter method.

Inheritance Modifier

Property inheritance modifier. The Inheritance Modifier property can take the None, New, NewVirtual, Override or Virtual value.

None

The default value. No inheritance modification is performed.

New

Specifies that the derived base class property with this name is explicitly hidden.

NewVirtual

Specifies that the derived base class property with this signature is explicitly hidden, and this property of this class can be overridden in the derived class.

Override

Specifies that the property overrides the one derived from the base class.

Virtual

Specifies that the property can be overridden in the derived class.

SealedOverride

Specifies that overriding the virtual method is forbidden for the subclass.

Multiplicity

Determines the number of instances of a child or parent class that can participate in the relationship.

Role

Determines the entity role member for the parent or child.

Setter

Specifies the access modifier for the setter method.

General

Association Set

Determines the association set that contains the association.

Delete Cascaded

Determines whether the cascade deleting will be performed when the parent entity having child entities is deleted.

Name

The association name that consists of two parts divided by underscore. The first part contains the parent class name and the second - the child class name.

ExpandedToggleIcon        See Also


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.