Bind DbModel to database