Show / Hide Table of Contents

    Interface IRepositoryDescription<T>

    Dynamic repository structure description interface

    Inherited Members
    IQueryDescription.Type
    Namespace: XData.Mapping.Dynamic
    Assembly: XData.docfx.dll
    Syntax
    public interface IRepositoryDescription<out T> : IQueryDescription where T : class, ISqlObject, new()
    Type Parameters
    Name Description
    T

    Methods

    | Improve this Doc View Source

    SetBaseTable(String)

    Set base table alias to repository dynamic mapping

    Declaration
    IRepositoryDescription<T> SetBaseTable(string baseTableAlias)
    Parameters
    Type Name Description
    String baseTableAlias

    Base table alias

    Returns
    Type Description
    IRepositoryDescription<T>

    Dynamic repository description

    | Improve this Doc View Source

    SetContext(String)

    Set context to repository dynamic mapping

    Declaration
    IRepositoryDescription<T> SetContext(string context)
    Parameters
    Type Name Description
    String context

    Database context name

    Returns
    Type Description
    IRepositoryDescription<T>

    Dynamic repository description

    | Improve this Doc View Source

    SetFlags(DataStructureFlag)

    Set flags to repository dynamic mapping

    Declaration
    IRepositoryDescription<T> SetFlags(DataStructureFlag flags)
    Parameters
    Type Name Description
    DataStructureFlag flags

    Data repository flags

    Returns
    Type Description
    IRepositoryDescription<T>

    Dynamic repository description

    | Improve this Doc View Source

    SetLogicAssemblies(String[])

    Set server data logic assembly name to repository dynamic mapping

    Declaration
    IRepositoryDescription<T> SetLogicAssemblies(params string[] logicAssemblyNames)
    Parameters
    Type Name Description
    String[] logicAssemblyNames

    Server data logic assembly names

    Returns
    Type Description
    IRepositoryDescription<T>

    Dynamic repository description

    Remarks

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

    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