Hacker News new | past | comments | ask | show | jobs | submit login

Yes, nice, same here.

One question out of curiosity - on your IStorageQuery interface what methods do you have? Do you have the usual by Id's etc or do you have a query object that you pass in that can build/translate to the relevant SQL?




Query object. The interface is as follows (I simplified a bit above:

    public interface IStorageQuery<T,Q> where Q : IStorageQueryCommand
    {
        IEnumerable<T> Query(Q query);
    }
IStorageQueryCommand is an empty marker interface.

Internally this is all bound to the query by property name.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: