Search Results for

    Show / Hide Table of Contents

    Class QueryableTypeFactory

    The factory responsible for retrieving all IQueryableType instances in the system for use with our query tools

    Inheritance
    object
    QueryableTypeFactory
    Implements
    IQueryableTypeFactory
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.Reporting.Queries
    Assembly: LemonEdge.API.dll
    Syntax
    public class QueryableTypeFactory : IQueryableTypeFactory

    Constructors

    QueryableTypeFactory(IDomainContextEventHandler, IReflectionHelper)

    Declaration
    public QueryableTypeFactory(IDomainContextEventHandler domainContextEventHandler, IReflectionHelper reflectionHelper)
    Parameters
    Type Name Description
    IDomainContextEventHandler domainContextEventHandler
    IReflectionHelper reflectionHelper

    Properties

    GetTypeKeys

    Returns a list of all TypeName. They keys for each different IQueryableType

    Declaration
    public IEnumerable<string> GetTypeKeys { get; }
    Property Value
    Type Description
    IEnumerable<string>

    Methods

    EnsureLoaded()

    Ensures all IQueryableType are loaded from the system and custom add in modules

    Declaration
    public void EnsureLoaded()

    GetAll()

    Returns all IQueryableType in the system

    Declaration
    public IEnumerable<IQueryableType> GetAll()
    Returns
    Type Description
    IEnumerable<IQueryableType>

    All IQueryableType in the system

    GetFromKey(string)

    Retrieves the IQueryableType for the specified TypeName

    Declaration
    public IQueryableType GetFromKey(string key)
    Parameters
    Type Name Description
    string key

    A valid TypeName

    Returns
    Type Description
    IQueryableType

    The IQueryableType for the specified TypeName

    Implements

    IQueryableTypeFactory

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    IQueryableType
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.