Table of Contents

Class NoResourceAttribute

Namespace
JsonApiDotNetCore.Resources.Annotations
Assembly
JsonApiDotNetCore.Annotations.dll

When put on an Entity Framework Core entity, indicates that the type should not be added to the resource graph. This effectively suppresses the warning at startup that this type does not implement IIdentifiable .

[PublicAPI]
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public sealed class NoResourceAttribute : Attribute
Inheritance
NoResourceAttribute
Inherited Members