isPersistent property

bool get isPersistent

Whether the entity represents a persistent record in the database.

Persistent entities will be updated on save, while non-persistent ones will be inserted.

Implementation

bool get isPersistent;