add EntityBase in which a dao Thread runs