Share via


CountAttribute Class

Definition

Represents an Attribute that can be placed on a class or property correlate to OData's $count query option settings.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property)]
public sealed class CountAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property)>]
type CountAttribute = class
    inherit Attribute
Public NotInheritable Class CountAttribute
Inherits Attribute
Inheritance
CountAttribute
Attributes

Constructors

CountAttribute()

Properties

Disabled

Represents whether the $count can be applied on the property or the entityset.

Applies to