You design a C# class using a class in PowerDesigner. C# classes can contain events, variables, constants, methods, constructors, properties, and indexers.
The following specific classes are also supported in PowerDesigner:
New class is used to declare a member with the same name or signature as an inherited member. To design a new class, you have to set the class new extended attribute to True. In the following example, class DialogBox inherits from class Window. Class Window contains an inner classifier Control, and so does class DialogBox. You do not want class DialogBox to inherit from the control defined in Window, to do so, you have to set the new extended attribute to True, in the Control class inner to DialogBox:
{ public class DialogBox : Window { public new class Control { } } }
{ public abstract class Client { private int Name; private int ID; } }
{ public sealed class SealedClass { private int A1; private int A2; } }