Show / Hide Table of Contents

    Interface IRepositoryStructureAdapter<T>

    Repository structure mapping adapter interface

    Inherited Members
    IRepositoryStructureAdapter.Expr<TValue>(String, DataExpressionType, String, DbType, Expression<Func<IRepositoryExpressionMappingAdapter, IStructureFlag>>[])
    IRepositoryStructureAdapter.Expr<TValue>(String, Expression<Func<IQueryStructureAdapter, TValue>>, DbType, Expression<Func<IRepositoryExpressionMappingAdapter, IStructureFlag>>[])
    IRepositoryStructureAdapter.Ref<TValue>(String, String, Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[])
    IRepositoryStructureAdapter.Ref<TValue, TInnerView>(String, Expression<Func<TInnerView, Object>>, Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[])
    Namespace: XData.Mapping.Dynamic
    Assembly: XData.docfx.dll
    Syntax
    public interface IRepositoryStructureAdapter<T> : IRepositoryStructureAdapter where T : class, ISqlObject, new()
    Type Parameters
    Name Description
    T

    Methods

    | Improve this Doc View Source

    Field<TValue>(Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[])

    Field mapping

    Declaration
    TValue Field<TValue>(params Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    TValue

    Field value

    Type Parameters
    Name Description
    TValue

    Field type

    Remarks

    WARNING! Can be used in dynamic query mapping only!

    See Also
    Select<TResult>(Expression<Func<IQueryStructureAdapter, TResult>>)
    | Improve this Doc View Source

    Field<TValue>(String, Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[])

    Field mapping

    Declaration
    TValue Field<TValue>(string fieldName, params Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    String fieldName

    Field name

    Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    TValue

    Field value

    Type Parameters
    Name Description
    TValue

    Field type

    Remarks

    WARNING! Can be used in dynamic query mapping only!

    See Also
    Select<TResult>(Expression<Func<IQueryStructureAdapter, TResult>>)
    | Improve this Doc View Source

    Field<TValue>(String, String, Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[])

    Field mapping

    Declaration
    TValue Field<TValue>(string sourceAlias, string fieldName, params Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    String sourceAlias

    Source alias

    String fieldName

    Field name

    Expression<Func<IRepositoryPropertyMappingAdapter<T, TValue>, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    TValue

    Field value

    Type Parameters
    Name Description
    TValue

    Field type

    Remarks

    WARNING! Can be used in dynamic query mapping only!

    See Also
    Select<TResult>(Expression<Func<IQueryStructureAdapter, TResult>>)
    | Improve this Doc View Source

    Link<TValue, TSource>(String, Expression<Func<ILinkPropertyMappingAdapter<T>, IStructureFlag>>[])

    Link property mapping

    Declaration
    Link<TValue, TSource> Link<TValue, TSource>(string sourceAlias, params Expression<Func<ILinkPropertyMappingAdapter<T>, IStructureFlag>>[] attributes)
        where TValue : IComparable<TValue> where TSource : class, IDataObject, new()
    Parameters
    Type Name Description
    String sourceAlias

    Property source alias

    Expression<Func<ILinkPropertyMappingAdapter<T>, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    Link<TValue, TSource>

    Link property

    Type Parameters
    Name Description
    TValue

    Link value type

    TSource

    Link source type

    | Improve this Doc View Source

    Link<TValue, TSource>(String, String, Expression<Func<ILinkPropertyMappingAdapter<T>, IStructureFlag>>[])

    Link property mapping

    Declaration
    Link<TValue, TSource> Link<TValue, TSource>(string sourceAlias, string fieldName, params Expression<Func<ILinkPropertyMappingAdapter<T>, IStructureFlag>>[] attributes)
        where TValue : IComparable<TValue> where TSource : class, IDataObject, new()
    Parameters
    Type Name Description
    String sourceAlias

    Property source alias

    String fieldName

    Property field name

    Expression<Func<ILinkPropertyMappingAdapter<T>, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    Link<TValue, TSource>

    Link property

    Type Parameters
    Name Description
    TValue

    Link value type

    TSource

    Link source type

    | Improve this Doc View Source

    Lob(String, Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[])

    Lob property mapping

    Declaration
    Lob Lob(string sourceAlias, params Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    String sourceAlias

    Property source alias

    Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    Lob

    Lob property

    | Improve this Doc View Source

    Lob(String, String, Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[])

    Lob property mapping

    Declaration
    Lob Lob(string sourceAlias, string fieldName, params Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    String sourceAlias

    Property source alias

    String fieldName

    Property field name

    Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    Lob

    Lob property

    | Improve this Doc View Source

    Xml(String, Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[])

    Xml property mapping

    Declaration
    Xml Xml(string sourceAlias, params Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    String sourceAlias

    Property source alias

    Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    Xml

    Xml property

    | Improve this Doc View Source

    Xml(String, String, Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[])

    Xml property mapping

    Declaration
    Xml Xml(string sourceAlias, string fieldName, params Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    String sourceAlias

    Property source alias

    String fieldName

    Property field name

    Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes

    Property mapping attributes

    Returns
    Type Description
    Xml

    Xml property

    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