예제 #1
0
        public void UpdateItem(ItemBase item)
        {
            ObjectPersistence persistence = new ObjectPersistence(DbAccess);

            persistence.Modify(item);
        }
예제 #2
0
        public void AddItem(ItemBase item)
        {
            ObjectPersistence persistence = new ObjectPersistence(DbAccess);

            persistence.Add(item);
        }