Entities
Entity definitions need to follow certain rules in order to work with Xams.
Entity Rules
- Entities should have either a string Name field or a string field with the attribute UIName for lookup fields.
- Composite Primary Keys are not supported.
Cascade Delete
Configure cascade delete using the nullable operator ?
and the CascadeDelete
attribute.
Project.Common / Entities / Widget.cs
When a user deletes a record, delete permissions are checked only on the record being deleted—not on any dependent records removed through cascading. This behavior is consistent with how enterprise CRM systems operate.