Re: Dictionary Object name/value pair

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I "think" he's trying to prop up existing code by re-writing this library.
If the API changes then more code needs to be re-written.
That's why I think he's not using a database.

I could be wrong though, if that's the case then you're right a database is
definately the best course of action. Because trying to create a dynamic
type in a statically typed language is like putting a square peg in a round
hole.


"Todos Menos [MSFT]" <todos_menos_msft@xxxxxxxxxxx> wrote in message
news:1173818964.411878.46360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I don't really understand the point.

Can't you just use a database?

Is SQL Server more complex than this?

-Todos

On Mar 13, 11:16 am, "Dave Young"
<dave.young.nos...@xxxxxxxxxxxxxxxxxxxx> wrote:
I'm trying to replicate the behaviour of the Commerce.Dictionary object
that
was found in Commerce Server 3.0

By using a hashtable or creating a custom class that implements
IDictionary,
you have to add elements by using the following syntax.

DictionaryObject.Add("key","value");

However, the old Commerce Server Dictionary object used the following
syntax.

DictionaryObject.Name = "Fred"

In this instance, the dictionary object creates a new element key called
"Name" and assigns the value of "Fred" to it.

Any thoughts on how to replicate this?




.



Relevant Pages

  • Re: Create Access databases programmatically via JDBC-ODBC?
    ... and my code needs to create new Access ... ODBC data-source to connect to that .mdb file. ... database that is registered with the ODBC Data Source Administrator. ...
    (comp.lang.java.databases)
  • Re: Error Handling
    ... all my code needs as well. ... think is that mine creates an external error log which it will create on ... and Allen's writes the log to a table within the database. ... just email me the plain text file. ...
    (microsoft.public.access.formscoding)
  • Developing in Access 2003 with conversion problem
    ... Having a problem developing an Access 97 database in Access 2003. ... database needs to go out to a number of staff who will review it and ... it opens fine on my machine (with the usual convert or open ... message pops up saying that the code needs to be recompiled for the ...
    (comp.databases.ms-access)
  • Re: Create Access databases programmatically via JDBC-ODBC?
    ... "Jonathan Fisher" ... ... > bridge, and my code needs to create new Access ... deliver an empty "template" database with your application. ...
    (comp.lang.java.databases)
  • Re: Dictionary Object name/value pair
    ... If the API changes then more code needs to be re-written. ... That's why I think he's not using a database. ... "Todos" isn't trying to make serious points - he's just trolling. ...
    (microsoft.public.dotnet.languages.csharp)