Esempio n. 1
0
        /// <summary>
        /// See interface docs.
        /// </summary>
        /// <param name="client"></param>
        public void UpdateClient(LogClient client)
        {
            if(client == null) throw new ArgumentNullException("client");
            if(_Connection == null) throw new InvalidOperationException("The connection must be opened before the client can be updated");

            lock(_SyncLock) {
                _ClientTable.Update(_Connection, _TransactionHelper.Transaction, null, client);
            }
        }