Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Implement ModelList for Models Lists #3

Open
smaugho opened this issue Nov 9, 2016 · 0 comments
Open

Implement ModelList for Models Lists #3

smaugho opened this issue Nov 9, 2016 · 0 comments

Comments

@smaugho
Copy link
Member

smaugho commented Nov 9, 2016

The method getModelList_ can implement (and return) a custom List named ModelList. This is an abstract class that includes a method named save.

A @LocalDBModel will implement a custom ModelList, that will save every element in a Transaction, so it would be enough to call models.save(), where models is the list of injected Models, to save every element in a transaction.

With this can be implemented also a List Upload for the server model.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant