Example #1
0
 private void StoreCategory()
 {
     var cat = new Model.Category
                 {
                     Name = "Hard Drives"
                 };
     _session.Store(cat);
     _session.SaveChanges();
 }