This project is read-only.

Query by inheritance (SOLVED)

Mar 27, 2013 at 1:00 PM
Is not possible to query by interface implemented by objects stored?

I need to be able to get all objects implementing IEvent with something like db.QueryAndExecute<IEvent>() but I get ArgumentException.
Mar 27, 2013 at 6:25 PM
Could you attach more details pls (like sample project where I can reproduce that)?

Like you have in the sample:

http://docs.ndatabase.net/index.html?1_minute_tutorial.html and in set of unit tests, the case you are describing is handled well by NDatabase.

Thanks,
Jacek