title: what is efficient way to assign values from rows to properties
body: <p>I am using LINQ<br>
  I have a Configuration table to store key values it has 30 settings in 30 rows
  For eg: </p>
  
  <pre><code> setting       value
      A            2
      B           "xyz" 
      .
      .
      .
      .
      .
   and so on 
  </code></pre>
  
  <p>I have created Property class to hold all values from database.</p>
  
  <p>I want to hold these settings in property class</p>
  
  <p>so in which way i can fetch and set all these properties. </p>
  
  <p>Do i have to loop through all rows and set properties one by one</p>
  
  <p>or what are your efficient suggestions</p>