Beispiel #1
0
        public bool BackupDatabase(string DBNAME, string BKPATH)
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.BackupDatabase(DBNAME, BKPATH));
        }
Beispiel #2
0
        public bool RestoreDatabase(string BKFILE, string DBNAME)
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.RestoreDatabase(BKFILE, DBNAME));
        }
Beispiel #3
0
        public DataTable GetDB4Backup()
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.GetDB4Backup());
        }
Beispiel #4
0
        public DataTable GetBackupHistory(int topList)
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.GetBackupHistory(topList));
        }
Beispiel #5
0
        /// <summary>
        /// 获取帐套
        /// </summary>
        /// <returns></returns>
        public static DataTable GetSystemDataSet()
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.GetSystemDataSet());
        }
Beispiel #6
0
        /// <summary>
        /// 获取表的所有字段
        /// </summary>
        /// <param name="tableName">表名</param>
        public static DataTable GetTableFieldsDef(string tableName, bool onlyDisplayField)
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.GetTableFieldsDef(tableName, onlyDisplayField));
        }
Beispiel #7
0
        /// <summary>
        /// 获取系统模块
        /// </summary>
        /// <returns></returns>
        public static DataTable GetModules()
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.GetModules());
        }
Beispiel #8
0
        public static string GetDataSN(string dataCode, bool asHeader)
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.GetDataSN(dataCode, asHeader));
        }
Beispiel #9
0
        public static DataTable SearchOutstanding(string invoiceNo, string customer, DateTime dateFrom, DateTime dateTo, DateTime dateEnd, string outstandingType)
        {
            IBridge_CommonData bridge = BridgeFactory.CreateCommonDataBridge();

            return(bridge.SearchOutstanding(invoiceNo, customer, dateFrom, dateTo, dateEnd, outstandingType));
        }