Search Results for

    Show / Hide Table of Contents

    Class EntitySetFactory

    Inheritance
    object
    EntitySetFactory
    Implements
    IEntitySetFactory
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Connections.Database.EntitySets
    Assembly: LemonEdge.Database.Connector.dll
    Syntax
    public class EntitySetFactory : IEntitySetFactory

    Constructors

    EntitySetFactory(IFactoryInjector)

    Declaration
    public EntitySetFactory(IFactoryInjector factoryInjector)
    Parameters
    Type Name Description
    IFactoryInjector factoryInjector

    Methods

    Create(Type, IQueryable, EntityContext, params object[])

    Creates a new inheritor of EntitySet<T> typed correctly to the type of T

    Declaration
    public IEntitySet Create(Type entitySetType, IQueryable items, EntityContext owner, params object[] additionalArgs)
    Parameters
    Type Name Description
    Type entitySetType
    IQueryable items

    The set of items of type T being operated on by this set

    EntityContext owner

    The owner of this EntitySet, EntityContext

    object[] additionalArgs

    Additional runtime arguments required to create the correct EntitySet

    Returns
    Type Description
    IEntitySet

    Implements

    IEntitySetFactory

    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)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.