Skip to main content

XPDictionary.AddClassInfo(XPClassInfo) Method

Adds persistent class metadata information to the current metadata provider.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public void AddClassInfo(
    XPClassInfo info
)

Parameters

Name Type Description
info XPClassInfo

Persistent class metadata information of the objects to add to the XPDictionary.Classes collection of the objects that are supplied by the current metadata provider.

Remarks

An exception is thrown when the object whose metadata information being added is already supplied by another metadata provider.

The XPDictionary.ClassInfoChanged event is raised when the metadata information has been successfully added to the current metadata provider.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddClassInfo(XPClassInfo) method.

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