Пример #1
0
        public bool SaveReported(List <ReportEnumRec> recs)
        {
            if (recs == null || recs.Count == 0)
            {
                return(false);
            }
            string sql = recs[0].GetInsertSql();

            return(CommonRepository.ExtBatchInsert <ReportEnumRec>(sql, SqlConnString, recs) == recs.Count);
        }