2011-12-02 3 views
1

HBase를 사용하기위한 ORM .Net 솔루션이 있습니까? Kundera에 제시된 개념과 유사한 것이지만 .Net 클라이언트 스택은 무엇입니까? 나는 그것이 REST API의 당신은 여전히 ​​쿤데라를 사용할 수 있다고 생각.Net ORM for Hbase/Cassandra/MongoDB

public Post GetMostRecentPost() 
{ 
    Post mostRecentPost; 

    using(var db = Mongo.Create("mongodb://localhost/BlogApp")) 
    { 
    var posts = db.GetCollection<Post>(); 
    //create a LINQ queryable to search the DB. 
    var q = posts.AsQueryable(); 

    //the ordering happens on the server and only one result will be returned. 
    mostRecentPost = q.OrderByDescending(y=>y.PostDate).FirstOrDefault(); 
    } 

    return mostRecentPost; 
} 

답변

0

: MongoDB를 에 대한 NoRM있다