Example #1
0
        /// <summary>新建时调用</summary>
        protected override void OnNew()
        {
            Debug        = Config.GetConfig <Boolean>("XCode.Debug", true);
            ShowSQL      = Config.GetConfig <Boolean>("XCode.ShowSQL", Debug);
            SQLPath      = Config.GetConfig <String>("XCode.SQLPath");
            ConnMaps     = Config.GetConfig <String>("XCode.ConnMaps");
            TraceSQLTime = Config.GetConfig <Int32>("XCode.TraceSQLTime");

            Cache.Init();
            Negative.Init();
        }
Example #2
0
        /// <summary>新建时调用</summary>
        protected override void OnNew()
        {
            ConnMaps = "Conn2#Conn,Table3@Table";

            Negative.Init();
        }