Hi,
What's the different between static entity and entity? why and when should i use static entity?
Thanks
Hi Ervin Toepak!
You should use static entities when your data will to be immutable over time, such as the example of statuses: "In Progress", "Finished","Canceled". They don't need to be changed, they are fixed.
By other way, Entities can be changed any time when you need to update them.
Best Regards,
Nuno Pereira
Hi Ervin,
Check this document.
Regards,
Marcelo
When you follow the online training, one of the first lessons explains what Entities and Static Entities are. They only make sense server-side, hence the links to the web applications training.
Entities and Static Entities are both persisted using a database table. The main difference has to do with usage:
Hi jorge,
what do you mean by this "They only make sense server-side"? What about in mobile app?
thanks
Ervin,
On Mobile Apps you don't have Static Entities. You can only define them on the Database, not on LocalStorage. You can still synchronise a Database Static Entity to an equivalent LocalStorage Entity but it won't be read-only at run-time (or you wouldn't be able to synchronise to begin with).