EntityQueryAttribute class
namespace: Serenity.Services assembly: Serenity.Net.Services
Specifies how an entity is read when it is used as a source of another query, e.g. by an entity query of a data source, or that it can't be used so. See EntityQueryMode.
[AttributeUsage(AttributeTargets.Class)]
public sealed class EntityQueryAttribute : Attribute
| parameter | description |
|---|---|
| mode | The mode. |
Public Members
| name | description |
|---|---|
| EntityQueryAttribute(…) | Specifies how an entity is read when it is used as a source of another query, e.g. by an entity query of a data source, or that it can't be used so. See EntityQueryMode. |
| Mode { get; } | Gets the mode. |
See Also
- Source: EntityQueryAttribute.cs