AccessAgent class abstract

An agent for handling load, update, create and delete from/into database.

This interface is called internally and implemented by an access provider. The application rarely need to invoke it.

Implementers

Constructors

AccessAgent()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(Entity entity, Map data) Future?
Creates a new entity with the given OID into the database. *
delete(Entity entity, AccessOption? option) Future?
Deletes the entity from database.
load(Entity entity, Iterable<String>? fields, AccessOption? option) FutureOr<Map?>
Loads the data of the given OID. *
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(Entity entity, Map data, Iterable<String>? fields) Future?
Updates the entity with the given OID into database. *

Operators

operator ==(Object other) bool
The equality operator.
inherited