In this section, we will take a look at how to create the BookDatabase class that will inherit from our IBookDatabase interface and implement the underlying instance methods that we declared within our interface class so that we can communicate with SQLite.net in order to perform all database actions for our BookLibrary application.
Let's start by creating the BookDatabase class for our BookLibrary app by going through the following steps:
- Ensure that the BookLibrary.iOS solution is open within the Visual Studio for Mac IDE.
- Next, right-click on the Database folder and choose Add | New File... from the pop-up menu.
- Then, choose the Empty Class option under the General section and enter BookDatabase ...