Ignore:
Timestamp:
May 11, 2011, 9:17:45 AM (13 years ago)
Author:
Sam Habiel
Message:

RemoteSession.cs Interface: Added:

  • Lock method to lock glvns on M db.
  • Encoding ConnectionEncoding to set the connection encoding on the DB

BMXNetSessionConnection: Added:

  • Abstract ConnectionEncoding property
  • Clarified error message that gets called. It now says that you don't have TransmitRPC writer lock??? When the error could be any BMXNetException.

BMXNetSessionSocketConnection:

  • Added ConnectionEncoding property
  • ReceiveString completely refactored: now we get much better performance
  • Timers and Debug Writes are all over the place now.

BMXNetRemoteSession:

  • Implemented the 2 new 'stuff' in Interface RemoteSesssion: -- Lock glvn -- Encoding Property
  • TableFromSQL with Dataset has an honest to god bug in it: The passed dataset and table name are not used even though they are passed.

BMXNetSessionConnectionOverAnotherSessionConnection:

  • Implemented the Encoding Property in Interface RemoteSession to have the project compile.

Updated dlls. Have fun.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet/Sevices/BMXNetRemoteSession.cs

    r1146 r1180  
    11using System;
    22using System.Data;
     3using System.Text;
    34using System.Windows.Forms;
    45using IndianHealthService.BMXNet.Model;
     
    7677        }
    7778
     79        public Encoding ConnectionEncoding
     80        {
     81            get
     82            {
     83                return SessionConnection.ConnectionEncoding;
     84            }
     85            set
     86            {
     87                SessionConnection.ConnectionEncoding = value;
     88            }
     89        }
     90
    7891        public bool IsEventPollingEnabled
    7992        {
     
    509522        }
    510523
     524        //smh: THIS IS WRONG. If you pass the data set, why make a new dataset...
    511525        public DataTable TableFromSQL(string sql, DataSet aDataSet, string aTableName)
    512526        {
    513             return this.TableFromSQL(sql, new DataSet(), this.DefaultTableName, this.AppContext);
     527            return this.TableFromSQL(sql, aDataSet, aTableName, this.AppContext);
    514528        }
    515529
     
    10701084            }                   
    10711085        }
     1086
     1087        public bool Lock(string lvnToLock, string addOrSubstract)
     1088        {
     1089            return SessionConnection.Lock(lvnToLock, addOrSubstract);
     1090        }
    10721091    }
    10731092}
Note: See TracChangeset for help on using the changeset viewer.