| Visual Basic (Declaration) | |
|---|---|
Public Enum PersistentRights Inherits Enum | |
| Visual Basic (Usage) | |
|---|---|
| |
| C# | |
|---|---|
public enum PersistentRights : Enum | |
| Managed Extensions for C++ | |
|---|---|
__value public enum PersistentRights : public Enum | |
| C++/CLI | |
|---|---|
public enum class PersistentRights : public Enum | |
| Member | Description |
|---|---|
| None | No right is granted to the persistent object. I can't be loaded, inserted, updated or deleted. |
| Load | The persistent object is only allowed to be loaded. |
| Insert | The persistent object is only allowed to be inserted. |
| Update | The persistent object is only allowed to be updated. |
| Delete | The persistent object is only allowed to be deleted. |
| All | The persistent object has all rights. |
The following example shows an example persistent that is only allowed to be loaded.
| C# | |
|---|---|
[Persistent("USER", Rights = PersistentRights.Load)] | |
This enumeration is used to mark persistent objects with certain rights. It
allows to specify the rights of the persistent object. Some persistent objects may
only be loaded and have no right to be saved or deleted from the storage. If the
persistent object is marked with the Insert right it can't be loaded, deleted or updated.
The enumeration contains an All flag which is the combination of all rights.
System.Object
System.ValueType
System.Enum
Chili.Opf3.PersistentRights
Requirements
Namespace: Chili.Opf3
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Chili.Opf3 (in Chili.Opf3.dll)