Skip to content

DevExpress-Examples/XPO_how-to-create-collection-properties-with-associations-at-runtime-e5139

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

How to create collection properties with associations at runtime

The XPO Library provides the capability to create classes and members at runtime by customizing the metadata dictionary. Besides creating persistent members mapped to database columns, it is also possible to create collection-type members with associations. This example demonstrates both one-to-many and many-to-many associations added to existing persistent classes dynamically and how dynamic properties can be accessed.

Note that all metadata customizations must be done before a data layer is created with the customized dictionary.

See also:
XAF-specifics: How to customize a Business Model at runtime (Example).
Related XPO classes: DevExpress.Xpo.Metadata Namespace


Does This Example Address Your Development Requirements/Objectives?

(you will be redirected to DevExpress.com to submit your response)

About

.NET, Frameworks (XAF & XPO), eXpress Persistent Objects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors