Search Results for

    Show / Hide Table of Contents

    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
    System.Object
    System.Attribute
    EntityDefintionOldInfo
    Inherited Members
    System.Attribute.Equals(System.Object)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetHashCode()
    System.Attribute.IsDefaultAttribute()
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.Match(System.Object)
    System.Attribute.TypeId
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    EntityDefinition
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.