HiddenAttribute Class
In This Article
Applied to XPO persistent classes, their fields or properties. Specifies that the target class, property or field should be hidden when generating OData v3 Service metadata.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.Extensions.dll
NuGet Package: DevExpress.Xpo.Extensions
#Declaration
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field, Inherited = true)]
public class HiddenAttribute :
Attribute
#Remarks
If you do not want to modify the target class source, you can override the HideProperty or HideResourceType method in the XpoContext descendant. Note that the HiddenAttributeattribute has a higher priority.
See Also