equals based on Database ID