ScriptIncludeAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Enables script code generation for the type this attribute is placed on. By default, types which are used in an endpoint / row is automatically enabled for code generation. Use this only for non-referenced types.

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum)]
public class ScriptIncludeAttribute : Attribute

Public Members

name description
ScriptIncludeAttribute() The default constructor.

See Also