Created
June 17, 2019 17:21
-
-
Save DanishAmjad12/610ac6fd6ee33280b7d95b86a8be49ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.roomdatabase | |
import androidx.room.Database | |
import androidx.room.RoomDatabase | |
@Database (entities = [(BookEntity::class)],version = 1) | |
abstract class AppDb : RoomDatabase() { | |
abstract fun bookDao(): BookDAO | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment