DbLink
The DbLink class is a simple reference to another object in the database, containing its _id and Name.
Properties
| Property | Type | Description |
|---|---|---|
_id |
string |
The unique identifier of the referenced object. |
Name |
string |
The name of the referenced object. |
Constructors
DbLink(): Initializes a new instance of theDbLinkclass.DbLink(Track t): Creates aDbLinkfrom aTrackobject.DbLink(Album a): Creates aDbLinkfrom anAlbumobject.DbLink(Artist a): Creates aDbLinkfrom anArtistobject.