Biggy基于文件的文档存储
.Net 下基于文件的文档存储 Document Store,类似 Node 下的NeDB
示例代码:
class Clown { public int ID {get;set;} public string Name {get;set;} [FullText] public string LifeStory {get;set;} public DateTime Birthday {get;set;} public Clown(){ Birthday = DateTime.Today; } } var clowns = new PGDocumentList<Clown>(connectionStringName : "Northwind"); var newClown = new Clown{Name : "Dougy Buns", Birthday = DateTime.Today.AddDays(-100), LifeStory = "Once upon a time, I was a little clown"}; clowns.Add(newClown);
评论