public void Save(ICollection<ExtendedInformation> informations)
        {
            _informations = informations;

            //SingleInfoDao decides for insert or update
            var singleInfoDao = new SingleInfoDao();

            foreach (var info in _informations)
            {
                singleInfoDao.Save(info);
            }
        }
示例#2
0
        public void Save(ICollection <ExtendedInformation> informations)
        {
            _informations = informations;

            //SingleInfoDao decides for insert or update
            var singleInfoDao = new SingleInfoDao();

            foreach (var info in _informations)
            {
                singleInfoDao.Save(info);
            }
        }