Exemple #1
0
        /// <summary>
        /// 导出AI文件
        /// </summary>
        /// <param name="rootDir">客户端根目录</param>
        /// <param name="conn">sql连接</param>
        /// <returns>是否导出成功</returns>
        public bool ExportAIFile(string rootDir, SqlConnection conn)
        {
            bool success = false;

            AIFileWriter aiFileWriter = new AIFileWriter(rootDir, conn);

            aiFileWriter.ExportLSFile();
            aiFileWriter.ExportCustomFunctionsFile();

            return(success);
        }
Exemple #2
0
        /// <summary>
        /// 导出AI文件
        /// </summary>
        /// <param name="rootDir">客户端根目录</param>
        /// <param name="conn">sql连接</param>
        /// <returns>是否导出成功</returns>
        public bool ExportAIFile(string rootDir, SqlConnection conn)
        {
            bool success = false;

            AIFileWriter aiFileWriter = new AIFileWriter(rootDir, conn);
            aiFileWriter.ExportLSFile();
            aiFileWriter.ExportCustomFunctionsFile();

            return success;
        }