title: How do you map a List<string> in iBatis?
body: <p>I have a class like this</p>
  
  <pre><code>public SomeClass
  {
     private List&lt;string&gt; _strings = new List&lt;string&gt;();
  
     public IEnumerable&lt;string&gt; Strings
     {
        {  get return _strings; }
     }
  }
  </code></pre>
  
  <p>How would I do the mapping for _strings?</p>
  
  <p>I tried this, but it complains about the List typehandler not being found, which it doesn't complain about if I mapped it as an object.</p>
  
  <pre><code>&lt;result property="_strings" column="value" /&gt;
  </code></pre>
  
  <p>So I searched Google and found this workaround (originally for a Java issue, no idea if it's suppose to work in C#)</p>
  
  <pre><code>&lt;result property="_strings" resultMapping="someMapping.StringList"/&gt;
  
  &lt;resultMap id="StringList" class="System.String"&gt;
    &lt;result property="" column="Value"/&gt;
  &lt;/resultMap&gt;
  </code></pre>
  
  <p>This at least lets the test run, and it returns the rest of my object fine, and my list has the right number of entries, except they're all blank.</p>
  
  <p>I think the problem is that the property attribute is blank, but I'm not sure whats suppose to go there. (I also tried using 'value', but that didn't work either). This seems like it should be a lot simpler and I'm just overlooking something obvious.</p>
  
  <p>Thanks.</p>