.Net ORM for Hbase/Cassandra/MongoDB



是否有任何ORM .Net解决方案与HBase一起工作?类似于在Kundera中提出的概念,但一个。net客户端堆栈?

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;
}

我认为你仍然可以使用Kundera的REST API。请看:https://github.com/impetus-opensource/Kundera/tree/trunk/kundera-rest

供参考。

vivek

最新更新