Creating the Database object

At this step we simply create an instance of the Database class:

  1. db = Database()

The Database class instance has an attribute Entity which represents a base class to be used for entities declaration.