BaseRepository<T extends BaseEntity> class
abstract
- Inheritance
-
- Object
- BaseQueryRepository<
T> - BaseRepository
Constructors
- BaseRepository(Table tbl)
Properties
- db ↔ AbsDatabase
-
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- querable ↔ DbTable
-
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tbl → Table
-
no setter
Methods
-
add(
T entity, DbContext dbc) → Future< void> -
all(
T entityCreator(), DbContext dbc) → Future< List< T> > -
inherited
-
deleteById(
int id, DbContext dbc) → Future< void> -
getById(
int id, T entityCreator(), DbContext dbc) → Future< T?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
Expr cond, T entityCreator(), DbContext dbc) → Future< List< T> > -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
T entity, DbContext dbc) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited