.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

AssociationAttribute.UseAssociationNameAsIntermediateTableName Property

Gets or sets whether the association’s name is used as the name of a junction table in a many-to-many relationship.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.2.dll


public bool UseAssociationNameAsIntermediateTableName { get; set; }

Property Value

Type Description

true to use the association’s name as the name of a junction table; otherwise, false.


This property is applied to both sides of many-to-many associations. The following example demonstrates how to apply AssociationAttribute and set the UseAssociationNameAsIntermediateTableName property.

[Association("YourAssociation", UseAssociationNameAsIntermediateTableName = true)]
public XPCollection<YourChildType> Children {
    // ...
See Also