ORMs

Code First Approach

create classes and entities first and database schema gets created from that

Database First Approach

have a running database already with the schema you want, and run some tooling to reverse engineer that and create classes based on the schema