Esempio n. 1
0
        public FileHistoryInfo[] GetHistory()
        {
            ArrayList list = new ArrayList();

            using (IDataReader reader = DBFile.GetHistory(CurrentTimeZoneId, _fileId))
            {
                while (reader.Read())
                {
                    list.Add(new FileHistoryInfo(_ownerFileStorage, reader));
                }
            }
            return((FileHistoryInfo[])list.ToArray(typeof(FileHistoryInfo)));
        }