.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);