Table of Contents

Enum TopFieldSelection

Namespace
JsonApiDotNetCore.Queries
Assembly
JsonApiDotNetCore.dll

Indicates how to override sparse fieldset selection coming from constraints.

public enum TopFieldSelection

Fields

OnlyIdAttribute = 2

Discards any included relationships and selects only resource ID.

PreserveExisting = 0

Preserves the existing selection of attributes and/or relationships.

WithAllAttributes = 1

Preserves included relationships, but selects all resource attributes.