Back to Devexpress

XpoDefault.Dictionary Property

xpo-devexpress-dot-xpo-dot-xpodefault-9d6d5813.md

latest2.5 KB
Original Source

XpoDefault.Dictionary Property

Gets or sets metadata on the persistent objects in a data store.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public static XPDictionary Dictionary { get; set; }
vb
Public Shared Property Dictionary As XPDictionary

Property Value

TypeDescription
XPDictionary

An XPDictionary object which provides metadata on the persistent objects in a data store.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Dictionary 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.

XPO_how-to-generate-persistent-classes-at-runtime-based-on-a-dataset-e1198/CS/WindowsApplication4/Form1.cs#L43

csharp
XPDictionary d = new ReflectionDictionary();
XpoDefault.Dictionary = d;
XpoDefault.DataLayer = new SimpleDataLayer(d, s);

XPO_how-to-generate-persistent-classes-at-runtime-based-on-a-dataset-e1198/VB/WindowsApplication4/Form1.vb#L41

vb
Dim d As XPDictionary = New ReflectionDictionary()
XpoDefault.Dictionary = d
XpoDefault.DataLayer = New SimpleDataLayer(d, s)

See Also

XpoDefault Class

XpoDefault Members

DevExpress.Xpo Namespace