Class EntityDefintionOldInfo
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 EntityDefinition attribute, then the old values need to be added to htis attribute so the system knows what to rename
Inheritance
Inherited Members
Namespace: LemonEdge.API.Attributes
Assembly: API.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
public sealed class EntityDefintionOldInfo : Attribute
Constructors
EntityDefintionOldInfo(EntityID, String, String)
Creates an attribute marking this entity as having the specified old values
Declaration
public EntityDefintionOldInfo(EntityID id, string tableName, string itemName)
Parameters
Type | Name | Description |
---|---|---|
EntityID | id | The unique global id of the entity |
System.String | tableName | The old name of the table in the database that held these entity records |
System.String | itemName | The old name for referring to an individual instance of this entity |
EntityDefintionOldInfo(String, String, String)
Creates an attribute marking this entity as having the specified old values
Declaration
public EntityDefintionOldInfo(string guidTypeID, string tableName, string itemName)
Parameters
Type | Name | Description |
---|---|---|
System.String | guidTypeID | The unique global id of the entity |
System.String | tableName | The old name of the table in the database that held these entity records |
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |
TypeID
The unique global id of the entity
Declaration
public Guid TypeID { get; }
Property Value
Type | Description |
---|---|
System.Guid |