Search Results for

    Show / Hide Table of Contents

    Class EntitySelfRelationshipAttribute

    Indicates this is a relationship that references the same entity

    Inheritance
    object
    Attribute
    PropRelationshipAttribute
    EntitySelfRelationshipAttribute
    Inherited Members
    PropRelationshipAttribute.TargetColumn
    PropRelationshipAttribute.JoinType
    PropRelationshipAttribute.SourceLabel
    PropRelationshipAttribute.TargetLabel
    PropRelationshipAttribute.PreventAutoConstraint
    PropRelationshipAttribute.InheritPermissions
    PropRelationshipAttribute.DeleteWithRelationship
    PropRelationshipAttribute.IsTypeExtender
    PropRelationshipAttribute.PartOfParentSet
    PropRelationshipAttribute.LinkToItemInSet
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.Equals(object)
    Attribute.GetHashCode()
    Attribute.Match(object)
    Attribute.IsDefaultAttribute()
    Attribute.TypeId
    object.GetType()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Attributes
    Assembly: LemonEdge.API.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public sealed class EntitySelfRelationshipAttribute : PropRelationshipAttribute

    Constructors

    EntitySelfRelationshipAttribute(string, SingleJoinType, string, string)

    Creates a new relationship definition where the source and target entity type are the same

    Declaration
    public EntitySelfRelationshipAttribute(string targetColumnName, SingleJoinType type, string sourceLabel, string reverseLabel)
    Parameters
    Type Name Description
    string targetColumnName

    The name of the property on this entity that this relationship links to - typically the ID property

    SingleJoinType type

    The type of relationship, either a Zero To One, or One join

    string sourceLabel

    The label used to refer to this relationship from the source entity

    string reverseLabel

    The label used to refer to this relationship from the target entity

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.