Show / Hide Table of Contents

    Class DataObjectAttribute

    Data object metadata attribute

    Inheritance
    Object
    Attribute
    DataObjectAttribute
    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)
    Attribute.TypeId
    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)]
    public sealed class DataObjectAttribute : Attribute
    Remarks

    WARNING! Required attribute!

    Constructors

    | Improve this Doc View Source

    DataObjectAttribute(String)

    Data object metadata attribute

    Declaration
    public DataObjectAttribute(string baseSource = "")
    Parameters
    Type Name Description
    String baseSource

    Base table alias

    Remarks

    If Base table is empty - data object has no base table.

    WARNING! None based data objects are read only and can not contain any table!

    | Improve this Doc View Source

    DataObjectAttribute(Type)

    Data object metadata attribute

    Declaration
    public DataObjectAttribute(Type baseMappingType)
    Parameters
    Type Name Description
    Type baseMappingType

    Base mapping type

    Properties

    | Improve this Doc View Source

    BaseMappingType

    Base mapping type

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

    BaseSource

    Base table alias

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

    Base table is modification allowed data source subtree root of data object

    See Also
    Alias
    Parent
    | Improve this Doc View Source

    Context

    Context alias

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

    Distinct

    Distinct flag

    Declaration
    public bool Distinct { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Flags

    Combination of DataObjectFlag values

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

    Limit

    Limit records

    Declaration
    public int Limit { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    LogicAssemblyNames

    Data logic assembly name

    Declaration
    public string[] LogicAssemblyNames { get; set; }
    Property Value
    Type Description
    String[]
    Remarks

    NOTE: Used when no IoC Container available. Otherwise register logic modules through container

    See Also
    IDataLogic<T>
    | Improve this Doc View Source

    Skip

    Skip records

    Declaration
    public int Skip { get; set; }
    Property Value
    Type Description
    Int32

    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