コード例 #1
0
        public void Set(ISQLConnectionSettings newConnection)
        {
            if (newConnection == null)
            {
                return;
            }

            if (currentConnection != null)
            {
                oldConnection = new SQLConnectionSettings(currentConnection);
            }

            currentConnection = new SQLConnectionSettings(newConnection);

            EvntConfigChanged?.Invoke(this, new BoolEventArgs(true));
        }
コード例 #2
0
 public void Refresh()
 {
     EvntConfigChanged?.Invoke(this, new BoolEventArgs(true));
 }
コード例 #3
0
 public void Set(ISQLConnectionSettings settings)
 {
     connection = new SQLConnectionSettings(settings);
     EvntConfigChanged?.Invoke(this, new BoolEventArgs(true));
 }