title: How to assign value from string properties to properties object
body: <p>I have 2 properties</p>
  <pre><code>   public MeasureDiameterMethodEnt PrimaryCalcMethod { get; set; }
     public MeasureDiameterMethodEnt SecondaryCalcMethod { get; set; }
  </code></pre>
  <p>and properties with two values (PrimaryCalcMethod , SecondaryCalcMethod ) value from the database.</p>
  <pre><code>public string CalcMethodName { get; set; }
  </code></pre>
  <p>How to assign the value &quot;PrimaryCalcMethod&quot; from string properties CalcMethodName to properties object PrimaryCalcMethod?
  How to assign the value &quot;SecondaryCalcMethod&quot; from string properties CalcMethodName to properties object SecondaryCalcMethod?</p>