Resource Members
In This Article
#Constructors
Name | Description |
---|---|
Resource() | Initializes a new instance of the Resource class with default settings. |
Resource |
Initializes a new instance of the Resource class with the specified caption and ID. |
Resource |
Initializes a new instance of the Resource class with the specified caption and ID. |
#Properties
Name | Description |
---|---|
Caption | Gets or sets the resource's caption. |
Color | Gets or sets the color associated with the resource. |
Custom |
Gets the collection of custom fields bound to the persistent object.
Inherited from Persistent |
Defer |
This member supports the internal infrastructure and is not intended to be used directly from your code.
Inherited from Persistent |
Empty static | Returns an empty resource. |
Id | Gets the resource's unique identifier. |
Image | Gets or sets the resource's image. |
Is |
Gets whether the persistent object is locked while it is being updated.
Inherited from Persistent |
Parent |
Gets or sets the Id of the parent resource if resources form a tree-like hierarchy. |
Row |
Gets or sets a value that identifies the data row bound to the persistent object.
Inherited from Persistent |
Visible | Gets or sets whether the resource is visible. |
#Methods
Name | Description |
---|---|
Begin |
Locks the object until the End |
Cancel |
Unlocks the Persistent |
Can |
Raises the Persistent |
Delete() |
Attempts to delete the persistent object from the collection to which it belongs.
Inherited from Persistent |
Delete |
Deletes the persistent object from its storage.
Inherited from Persistent |
Dispose() |
Disposes of the Persistent |
End |
Unlocks the Persistent |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Provides access to the data record for the current resource. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Get |
Obtains the value of the specific field in the current resource data record supplied by the specified storage object. |
Match |
Checks whether the specified resources are identical (or if either of them is an empty resource, see the Resource. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
On |
The method is called upon modification of the persistent object.
Inherited from Persistent |
On |
Called before a persistent object is modified.
Inherited from Persistent |
Raise |
This member supports the internal infrastructure and is not intended to be used directly from your code.
Inherited from Persistent |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Set |
Performs a transaction to change the value of the specific field in the current resource data record supplied by the specified storage object. |
To |
Returns a string that represents the current object. Inherited from Object. |
See Also