InstanceNameAttribute class
namespace: Serenity.Data assembly: Serenity.Net.Services
Determines non-plural name for an entity.
[AttributeUsage(AttributeTargets.All)]
public class InstanceNameAttribute : Attribute
| parameter | description |
|---|---|
| instanceName | Name of the instance. |
Public Members
| name | description |
|---|---|
| InstanceNameAttribute(…) | Determines non-plural name for an entity. |
| InstanceName { get; } | Gets the name of the instance. |
Remarks
Initializes a new instance of the InstanceNameAttribute class.
See Also
- Source: InstanceNameAttribute.cs