Thursday, March 7th, 2024 at 10:00 AM GMT -7
https://www.meetup.com/arizona-xafers-user-group/events/299557268/
Tentative Agenda:
- Introductions
- Announcements
- Presentation
- Questions
Recording:
Relevant Links:
How to persist metadata using XPO, to crate persistent classes dynamically
https://github.com/DevExpress-Examples/XPO_how-to-persist-metadata-e269
Xaf types info
XAF dynamically extend your ORM in runtime.
Allow admin to extend persistent classes.
XPO class info( the metadata of the class)
https://docs.devexpress.com/XPO/DevExpress.Xpo.Metadata.XPClassInfo
Create persistent metadata on the fly
How to generate persistent classes at runtime
Tips for a modular architecture
- Create an ORM project that you will share across all your modules, this makes it easier to write code on each specific module that interact with domain objects from other modules, otherwise you will have to interact with shadow properties (properties that only exist at metadata level)
The concept of shadow properties in EF core, there is no name for that in XPO
Shadow properties are a feature in Entity Framework (EF) Core that allows you to define properties on your entities that do not exist in your entity class. Essentially, these are properties that EF Core knows about and can use in its model, but they are not explicitly declared in your C# entity classes. This feature can be particularly useful for tracking information such as when an entity was created or modified, without having to clutter your entity classes with properties that are only used for database concerns.
Shadow properties are typically used for audit fields like CreatedDate, LastModifiedDate, or ForeignKey properties that you do not want to expose on your entity model directly. EF Core will manage these properties in the background, and you can interact with them through the EF Core API, such as when you’re saving changes to the database or querying data.
- Understand the application life cycle, there are different paths for each platform. https://docs.devexpress.com/eXpressAppFramework/113127/app-shell-and-base-infrastructure/application-life-cycle?ssp=1&darkschemeovr=1&setlang=en&cc=US&safesearch=moderate
- Understand how modules works. https://docs.devexpress.com/eXpressAppFramework/118046/app-shell-and-base-infrastructure/application-solution-components/modules?ssp=1&darkschemeovr=1&setlang=en&cc=US&safesearch=moderate
- Ways to register modules.
- Understanding application domains and Assembly contexts
- Model generator updaters.
- Solid design pattern
https://en.wikipedia.org/wiki/SOLID
Examples
Hi Jose,
may I know – is recording available?
Done