How to save a dictionary into a database with C#?
<p>I have been using following way to save dictionaries into the database:</p>

<ol>
<li>Convert the dictionary to XML.</li>
<li>Pass this XML to a SP(Stored Procedure).</li>
<li><p>In the SP use:</p>

<pre><code>Select 
    Key1,                   
    Value1
into #TempTable                                      
FROM OPENXML(@handle, '//ValueSet/Values', 1)
WITH 
(                                  
  key1 VARCHAR(MAX),     
  value1 varchar(100)  
)
</code></pre></li>
<li><p>Done.</p></li>
</ol>

<p>Is there a way to save dictionaries to a database without converting it to XML?</p>