Dev Dao

interface DevDao<model : DbModel> : DbService

Base for Data Access Object for Room

Author

Jimly A.

Since

01-Jun-20.

Parameters

model

Define dbModel to access

Functions

Link copied to clipboard
abstract fun remove(vararg data: model)

Method to remove an object

Link copied to clipboard
abstract fun save(data: model)

Method do save an object

Link copied to clipboard
abstract fun update(vararg data: model)

Method to update an object

Sources

Link copied to clipboard