Skip to main content
.NET 8.0+

AssociationAttribute.ElementTypeName Property

Gets or sets the full name of the type which describes the object on the opposite end of the association.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public string ElementTypeName { get; set; }

Property Value

Type Description
String

A String value which specifies the full name of the type that describes the object on the opposite end of the association.

Remarks

The AssociationAttribute.AssemblyName and AssociationAttribute.ElementTypeName properties should only be used when you cannot use a generic collection on the “many” side of a relationship. Otherwise, these property values are automatically inferred from the collection’s generic type parameter.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ElementTypeName property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also