Magiq-to-objects is the default provider for Magiq. If no other provider can handle the query, Magiq-to-objects will do it. This provider is usefull for unit testing, because you can test your application using in memory repositories (such as List<T>) instead of the actual one.

Updates
It will loop the entire Where clause and set each property to each entity.

Deletes
It will loop the entire Where clause and remove each entity from the source list.

Inserts
It will loop the entire Where clause and will execute the New expression defined according each returned entity. Then it will add the new object to the destination list.

Query
It will generate a Queryable using the well known AsQueryable() extension method.

Reflection
Magiq uses dynamic generated methods in order to avoid reflection calls.

Last edited Feb 17, 2010 at 9:31 PM by ivos, version 2

Comments

No comments yet.