Exemplo n.º 1
0
        public void Dispose()
        {
            storage.Dispose();
            condstorage.Dispose();
            sqlHelper.Dispose();

            storage     = null;
            condstorage = null;
            sqlHelper   = null;
        }
Exemplo n.º 2
0
 private void init(ISqlHelper connection)
 {
     sqlHelper   = connection;
     storage     = new FieldStorage(connection);
     condstorage = new FieldConditionStorage(connection);
 }