XPDictionary.AddClassInfo(XPClassInfo) Method

Adds persistent class metadata information to the current metadata provider.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public void AddClassInfo(
    XPClassInfo info
)
Public Sub AddClassInfo(
    info As XPClassInfo
)

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.

See Also