This documentation is archived and is not being maintained.

AssociationAttribute Properties

The AssociationAttribute type exposes the following members.

  NameDescription
Public property DeleteOnNull When placed on a 1:1 association whose foreign key members are all non-nullable, deletes the object when the association is set to null.
Public property DeleteRule Gets or sets delete behavior for an association.
Public property IsForeignKey Gets or sets the member as the foreign key in an association representing a database relationship.
Public property IsUnique Gets or sets the indication of a uniqueness constraint on the foreign key.
Public property Name Gets or sets the name of a column. (Inherited from DataAttribute.)
Public property OtherKey Gets or sets one or more members of the target entity class as key values on the other side of the association.
Public property Storage Gets or sets a private storage field to hold the value from a column. (Inherited from DataAttribute.)
Public property ThisKey Gets or sets members of this entity class to represent the key values on this side of the association.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Top
Show: