Show / Hide Table of Contents

UML and Code Generation

UML often has different names for it's parts that a programming language you are using. Here is a table that helps translate between UML and different programming languages.

UML Description C# SQL JavaScript Typescript
Class Diagram / Model Collection of Classes Namespace Namespace
Classifier Parent of Class or Interface
Class Defines a class Class Table Object Class
Interface Defines a interface Interface Interface
Property An accessible property of a class Property Field Property Property
SteroType An of extensibility mechanism in UML Attributes Decorators
Generalization Inheritance Inheritance Inheritance Inheritance
Association Any logical connection Between Classifiers Reference Foreign Key Reference Reference
Aggregation A collection of associated Classifiers Typed List Foreign Key Array Typed Array
Composition A Composition has a strong life-cycle dependency between instances
Dependency Indicates that one class depends on another
Back to top Generated by DocFX