ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How to Handle Complex Tagging in RavenDB

How to Handle Complex Tagging in RavenDB

原创 Linux操作系统 作者:jieforest 时间:2012-07-09 11:34:02 0 删除 编辑
In the RavenDB mailing list, we got a question about tagging. In this case, the application need:

1. Tags have identity  ("set" has a different meaning if I'm talking math, music or sports).

2. I want to know who tagged what and when.

3. I want to do this once, as a service, so i don’t need have ids in each document i want to tag. In my app, there are many such document types.

Let us see how we can approach this in RavenDB. We are going to do it like so:


image_2.png





image_6.png








来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/301743/viewspace-734956/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-04-23

  • 博文量
    443
  • 访问量
    508532