title: Specifying the Discriminator Value using Fluent NHibernate
body: <p>The default for <code>DiscriminatorValue</code> is the fully qualified name of the <code>Subclass</code>. </p>
  
  <p>I'd like to map this to a number e.g an enum value, or a single character. I have tried specifying it within the mapping using the <code>DiscriminatorValue</code> however that has no impact and it sticks with the subclass name. </p>
  
  <p>Example:</p>
  
  <pre><code>public class MovieMapping : SubclassMap&lt;Movie&gt;
  {
      public MovieMapping()
      {
          Map(m =&gt; m.Director);
          HasMany(m =&gt; m.Actors)
              .KeyColumn("MovieId")
              .AsList(l =&gt; l.Column("ActorIndex"));
          DiscriminatorValue("'M'");
      }
  }
  </code></pre>
  
  <p>I would have expected to see <code>M</code> in the column for <code>Discriminator</code>, but it comes up with the fully qualified subclass name instead. </p>
  
  <p>Any one else managed to do this with Fluent NHibernate?</p>