LookupScriptAttribute constructor (1 of 3)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Creates a LookupScriptAttribute with auto determined lookup key

public LookupScriptAttribute()

See Also


LookupScriptAttribute constructor (2 of 3)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Creates a LookupScriptAttribute.

public LookupScriptAttribute(string key)
parameter description
key Lookup key, usually in "Module.EntityName" format.

See Also


LookupScriptAttribute constructor (3 of 3)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Defines that this type has an external lookup script type, and the lookup key is available on that type. Use this overload only for row types that have external lookups.

public LookupScriptAttribute(Type lookupType)
parameter description
lookupType Script type with LookupScript attribute of its own.

See Also