Show / Hide Table of Contents

    Interface IRepositoryStructureAdapter

    Repository structure adapter

    Namespace: XData.Mapping.Dynamic
    Assembly: XData.docfx.dll
    Syntax
    public interface IRepositoryStructureAdapter

    Methods

    | Improve this Doc View Source

    Expr<TValue>(String, Expression<Func<IQueryStructureAdapter, TValue>>, DbType, Expression<Func<IRepositoryExpressionMappingAdapter, IStructureFlag>>[])

    SQL expression mapping

    Declaration
    TValue Expr<TValue>(string fieldName, Expression<Func<IQueryStructureAdapter, TValue>> expr, DbType dbType, params Expression<Func<IRepositoryExpressionMappingAdapter, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    String fieldName

    Expression field name

    Expression<Func<IQueryStructureAdapter, TValue>> expr

    Expression

    DbType dbType

    Expression database type

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

    Property mapping attributes

    Returns
    Type Description
    TValue

    Expression value

    Type Parameters
    Name Description
    TValue

    Expression result type

    Remarks

    WARNING! Can be used in dynamic query mapping only!

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

    Expr<TValue>(String, DataExpressionType, String, DbType, Expression<Func<IRepositoryExpressionMappingAdapter, IStructureFlag>>[])

    SQL expression mapping

    Declaration
    TValue Expr<TValue>(string fieldName, DataExpressionType type, string exprText, DbType dbType, params Expression<Func<IRepositoryExpressionMappingAdapter, IStructureFlag>>[] attributes)
    Parameters
    Type Name Description
    String fieldName

    Expression field name

    DataExpressionType type

    Expression source type

    String exprText

    Expression text

    DbType dbType

    Expression database type

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

    Property mapping attributes

    Returns
    Type Description
    TValue

    Expression value

    Type Parameters
    Name Description
    TValue

    Expression result type

    Remarks

    WARNING! Can be used in dynamic query mapping only!

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

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

    Inner view property reference mapping

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

    Referenced property subquery alias

    String property

    Referenced property name

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

    Property mapping attributes

    Returns
    Type Description
    TValue

    Referenced property value

    Type Parameters
    Name Description
    TValue

    Referenced property type

    Remarks

    WARNING! Can be used in dynamic query mapping only!

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

    Ref<TValue, TInnerView>(String, Expression<Func<TInnerView, Object>>, Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[])

    Inner view property reference mapping

    Declaration
    TValue Ref<TValue, TInnerView>(string sourceAlias, Expression<Func<TInnerView, object>> property, params Expression<Func<IRepositoryReadOnlyPropertyMappingAdapter, IStructureFlag>>[] attributes)
        where TInnerView : class
    Parameters
    Type Name Description
    String sourceAlias

    Referenced property subquery alias

    Expression<Func<TInnerView, Object>> property

    Referenced property name

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

    Property mapping attributes

    Returns
    Type Description
    TValue

    Referenced property value

    Type Parameters
    Name Description
    TValue

    Referenced property type

    TInnerView

    Referenced inner view type

    Remarks

    WARNING! Can be used in dynamic query mapping only!

    See Also
    Select<TResult>(Expression<Func<IQueryStructureAdapter, TResult>>)

    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