예제 #1
0
 public void AddApplicationVersion(IApplicationVersion applicationVersion)
 {
     Database.GetCollection("ApplicationVersion").Insert(applicationVersion.ToPersist());
 }
예제 #2
0
 public void UpdateApplicationVersion(IApplicationVersion applicationVersion)
 {
     Database.GetCollection("ApplicationVersion").Save(applicationVersion.ToPersist(), WriteConcern.Acknowledged);
 }