Entity Class |
This is preliminary documentation and is subject to change.
The Entity type exposes the following members.
| Name | Description | |
|---|---|---|
| Entity(WikiSite, String) | Initializes a new Entity entity from Wikibase site and existing entity ID. | |
| Entity(WikiSite, EntityType) | Initializes a new Entity entity from Wikibase site, marked for creation. |
| Name | Description | |
|---|---|---|
| Aliases | Gets the aliases of the entity. | |
| Claims | Gets the claims of the entity. | |
| DataType | For property entity, gets the data type of the property. | |
| Descriptions | Gets the descriptions of the entity. | |
| Exists | Whether the entity exists. | |
| Id | Id of the entity. | |
| Labels | Gets the labels (aka. names) of the entity. | |
| LastModified | Time of the last revision. | |
| LastRevisionId | The revid of the last revision. | |
| NamespaceId | Namespace ID of the entity page. | |
| PageId | ID of the entity page. | |
| QueryOptions | The last query options used with RefreshAsync or effectively equivalent methods. | |
| Site | ||
| SiteLinks | Gets the sitelinks of the entity. | |
| Title | Full title of the entity page. | |
| Type | Wikibase entity type. |
| Name | Description | |
|---|---|---|
| EditAsync(IEnumerableEntityEditEntry, String) | Makes the specified changes to the current entity on the Wikibase site. | |
| EditAsync(IEnumerableEntityEditEntry, String, EntityEditOptions) | Makes the specified changes to the current entity on the Wikibase site. | |
| EditAsync(IEnumerableEntityEditEntry, String, EntityEditOptions, CancellationToken) | Makes the specified changes to the current entity on the Wikibase site. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IdFromSiteLinkAsync | Asynchronously gets the entity IDs with specified sequence of titles on the specified site. | |
| IdsFromSiteLinksAsync | Asynchronously gets the entity IDs with specified sequence of titles on the specified site. | |
| RefreshAsync | Refreshes the basic entity information from Wikibase site. | |
| RefreshAsync(EntityQueryOptions) | Refreshes the entity information from Wikibase site. | |
| RefreshAsync(EntityQueryOptions, ICollectionString) | Refreshes the entity information from Wikibase site. | |
| RefreshAsync(EntityQueryOptions, ICollectionString, CancellationToken) | Refreshes the entity information from Wikibase site. | |
| ToString | Returns a string that represents the current object. (Overrides ObjectToString) |