Show / Hide Table of Contents

    Class ExternalLinkAttribute

    Data object external link to other (child) data objects attribute

    Inheritance
    Object
    Attribute
    ExternalLinkAttribute
    Inherited Members
    Attribute.Equals(Object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, Boolean)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, Boolean)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, Boolean)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, Boolean)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, Boolean)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, Boolean)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, Boolean)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, Boolean)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, Boolean)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, Boolean)
    Attribute.Match(Object)
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: XData.Mapping
    Assembly: XData.docfx.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public sealed class ExternalLinkAttribute : Attribute
    Remarks

    Used to organize master/detail relation between repositories

    Constructors

    | Improve this Doc View Source

    ExternalLinkAttribute(Type, String, String, String)

    External link attribute

    Declaration
    public ExternalLinkAttribute(Type childType, string childProperty, string property = "", string filterName = "")
    Parameters
    Type Name Description
    Type childType

    Child data object description type

    String childProperty

    Child property to link

    String property

    Parent property contains value to link

    String filterName

    Filter name

    Exceptions
    Type Condition
    XDataRuntimeException

    Child data object description type cannot be null

    XDataRuntimeException

    Child property to link cannot be null or empty string

    Properties

    | Improve this Doc View Source

    ChildLinkType

    Child linked property type

    Declaration
    public Type ChildLinkType { get; set; }
    Property Value
    Type Description
    Type
    Remarks

    Used when child repository linked through subquery

    | Improve this Doc View Source

    ChildProperty

    Child property to link

    Declaration
    public string ChildProperty { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    ChildType

    Child data object type

    Declaration
    public Type ChildType { get; }
    Property Value
    Type Description
    Type
    | Improve this Doc View Source

    Combination

    Filter combination (filter group) name

    Declaration
    public string Combination { get; set; }
    Property Value
    Type Description
    String
    See Also
    FilterCombinationAttribute
    | Improve this Doc View Source

    DirectLink

    Direct link slave to selected tree node

    Declaration
    public bool DirectLink { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Used to show/hide subtree related items in slave view when master is tree

    When ShowSubtree = false - slave contains selected node child items only

    When ShowSubtree = true - selected node and it's subtree child items

    Works with ShowSubtree: External links marked as DirectLink is filled while ShowSubtree is false and omitted otherwise

    | Improve this Doc View Source

    FilterName

    Filter name

    Declaration
    public string FilterName { get; }
    Property Value
    Type Description
    String
    Remarks

    If not assigned used FilterByChildProperty pattern

    | Improve this Doc View Source

    MasterRefresh

    Refresh parent object notification on child submit

    Declaration
    public bool MasterRefresh { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Used when parent object contains calculated fields over child objects

    | Improve this Doc View Source

    Nullable

    Filter null value handling

    Declaration
    public FilterNullable Nullable { get; set; }
    Property Value
    Type Description
    FilterNullable
    See Also
    FilterNullable
    | Improve this Doc View Source

    Operation

    Filter operation

    Declaration
    public FilterOperation Operation { get; set; }
    Property Value
    Type Description
    FilterOperation
    See Also
    FilterOperation
    | Improve this Doc View Source

    PrimaryFilter

    Primary filter flag

    Declaration
    public bool PrimaryFilter { get; set; }
    Property Value
    Type Description
    Boolean
    See Also
    OptionalFilterAttribute
    | Improve this Doc View Source

    PropertyName

    Property to link

    Declaration
    public string PropertyName { get; }
    Property Value
    Type Description
    String
    Remarks

    If not assigned used ChildProperty name

    | Improve this Doc View Source

    TypeId

    When implemented in a derived class, gets a unique identifier for this Attribute.

    Declaration
    public override object TypeId { get; }
    Property Value
    Type Description
    Object

    An Object that is a unique identifier for the attribute.

    Overrides
    Attribute.TypeId

    Extension Methods

    SerializationExtensions.ToXml<T>(T)
    CollectionsExtensions.SetValue<TKey, T>(TKey, T)
    CollectionsExtensions.AsEnum<T>(T)
    DataObjectQueryableExtensions.CompareVariable(Object, FilterOperation, String)
    Processing.Do<T>(T, Action<IProcess<T>>[])
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>)
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>, TResult)
    TypeExtensions.ChangeType<T>(Object)
    TypeExtensions.ChangeType(Object, Type)
    TypeExtensions.InvokeMethod<TRet>(Object, Type[], Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Type[], Expression<Action>, BindingFlags)
    TypeExtensions.InvokeMethod<TRet>(Object, Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Expression<Action>, BindingFlags)
    SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)
    QueryDescriptionExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IQueryStructureAdapter, TResult>>)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX