Class EntitySetFactory
Implements
Inherited Members
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 |