Exposing entities via a nHibernate implementation RIA Services with querystring queries
        Posted  
        
            by illdev
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by illdev
        
        
        
        Published on 2010-05-07T18:15:31Z
        Indexed on 
            2010/05/07
            18:18 UTC
        
        
        Read the original article
        Hit count: 273
        
I once read a blog post and cannot find it anymore. drat!
It was about a guy who setup a wcf service (I guess RIA, but could have been something else) exposing the model via IQueryable to the querystring.
Sou you could say
http://host/articles/123/ratings
and you'd get a list (soap or json) of serialized Rating entities (the properties which had some attribute attached) which pertained to an article with id 123. All this with nHibernate / nh linq in the back and in surprisingly few lines of code.
Anyone knows what I am talking about? Experiences, suggestions?
© Stack Overflow or respective owner