package Ġme . to pt as . mon it to . data . room Ċ Ċ import Ġandroid . arch . lifecycle . LiveData Ċ import Ġandroid . arch . persistence . room .* Ċ import Ġandroid . arch . persistence . room . On Conflict Strategy . REPLACE Ċ import Ġme . to pt as . mon it to . model . Site Ċ Ċ @ Dao Ċ interface ĠSite Dao Ġ{ ĊĊĠĠĠ Ġ@ Query (" Select Ġ* Ġfrom Ġsite ") ĊĠĠĠ Ġfun ĠgetAll (): ĠLive Data < List < Site >> ĊĊĠĠĠ Ġ@ Query (" Select Ġ* Ġfrom Ġsite ") ĊĠĠĠ Ġfun ĠgetAll No Live (): ĠList < Site > ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠREPLACE ) ĊĠĠĠ Ġfun Ġinsert ( site : ĠSite ) ĊĊĠĠĠ Ġ@ Update ĊĠĠĠ Ġfun Ġupdate ( site : ĠSite ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete ( site : ĠSite ) Ċ }