How do you use Classes/UML to model a simple database?

I had a similar assignment where the user chooses to be a customer (like an ATM), banker, or supervisor (both able to view customers, transactions, etc). How would I do this using classes and structs?
You implement a class for each of the three, maybe you also use inheritance.
...

That's awfully vague, I'm having trouble grasping how I would actually do this. Scope, constructor(s), destructor...maybe it's function-design in general I am having difficulty with.
Unless you're using an Object Database, you probably don't. If you're talking about a Relational Database, it's good old fashion ER Diagrams and such.
No clue what the difference is...
closed account (z05DSL3A)
Database Modelling in UML
http://www.sparxsystems.com.au/downloads/whitepapers/Database_Modeling_In_UML.pdf
Topic archived. No new replies allowed.