Пример #1
0
        public void SaveFileRecord(string filePath, string fileName, User creator)
        {
            var fileRecord = new FileRecord(filePath, creator, fileName);

            _daoFactory.CreateFileDao().SaveOrUpdate(fileRecord);
        }
        public System.Collections.Generic.IEnumerable <FileRecord> Index(FileRecordSearcher search)
        {
            int total;

            return(_fileDaoFactory.CreateFileDao().Find(search.Name, search.PageIndex.Value, search.PageSize.Value, out total));
        }