Esempio n. 1
0
 public void SavePortrait(DTO.Portrait portrait)
 {
     using (var container = OpenContainer())
     {
         container.Store(portrait);
     }
 }
Esempio n. 2
0
        public void SavePortrait(DTO.Portrait portrait)
        {
            var container = OpenContainer();

            container.Store(portrait);
            container.Commit();
        }