Class EntityDefinitionOldInfoAttribute
This marks entities with old tablenames, itemnames or setnames.
These are used to create functions and the table in the database. If they are changed in the EntityDefinitionAttribute attribute, then the old values need to be added to htis attribute so the system knows what to rename
Inherited Members
Namespace: LemonEdge.API.Attributes
Assembly: LemonEdge.API.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, Inherited = false)]
public sealed class EntityDefinitionOldInfoAttribute : Attribute
Constructors
EntityDefinitionOldInfoAttribute(EntityID, string, string)
Creates an attribute marking this entity as having the specified old values
Declaration
public EntityDefinitionOldInfoAttribute(EntityID id, string tableName, string itemName)
Parameters
Type | Name | Description |
---|---|---|
EntityID | id | The unique global id of the entity |
string | tableName | The old name of the table in the database that held these entity records |
string | itemName | The old name for referring to an individual instance of this entity |
EntityDefinitionOldInfoAttribute(string, string, string)
Creates an attribute marking this entity as having the specified old values
Declaration
public EntityDefinitionOldInfoAttribute(string guidTypeID, string tableName, string itemName)
Parameters
Type | Name | Description |
---|---|---|
string | guidTypeID | The unique global id of the entity |
string | tableName | The old name of the table in the database that held these entity records |
string | itemName | The old name for referring to an individual instance of this entity |
Properties
ItemName
The old name for referring to an individual instance of this entity
Declaration
public string ItemName { get; set; }
Property Value
Type | Description |
---|---|
string |
SetName
The old name for referring to a collection of items of this entity
Declaration
public string SetName { get; set; }
Property Value
Type | Description |
---|---|
string |
TableName
The old name of the table in the database that held these entity records
Declaration
public string TableName { get; }
Property Value
Type | Description |
---|---|
string |
TypeID
The unique global id of the entity
Declaration
public Guid TypeID { get; }
Property Value
Type | Description |
---|---|
Guid |