NameIdPair Class

From ReliaWiki
Jump to navigation Jump to search


This class represents the name and ID of a project.

Constructors

  • NameIdPair( Integer, String ) Represents an element (e.g., project, model) with the specified numerical ID and name. (Automatically called via the "GetAll" and "GetCurrent" methods in the Repository class.)

Methods

  • ToString Overridable function that returns the Name.

Properties

  • Name (as string) Gets or set the name.
  • ID (as integer) Gets or set the ID number.