Interface IEntitySetFactory
A factory responsible for the creation of IEntitySet
Namespace: LemonEdge.Connections.Database.EntitySets
Assembly: LemonEdge.Database.Connector.dll
Syntax
public interface IEntitySetFactory
Methods
Create(Type, IQueryable, EntityContext, params object[])
Creates a new inheritor of EntitySet<T> typed correctly to the type of T
Declaration
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 |