title: Fluent Nhibernate - Generate a non-primary-key sequence generated value
body: <p>I have an entity mapping quite similar to this one.</p>
  
  <pre><code>public class MyClassMap : ClassMap&lt;MyClass&gt;
  {
      public MyClassMap()
      {
          Id(x =&gt; x.Id);
          Map(x =&gt; x.Code);
  
          Map(x =&gt; x.Name);
          Map(x =&gt; x.Description);
      }
  }
  </code></pre>
  
  <p>I'd like to know if there's any possible way to have the Code field (which is not part of the Primary Key) autogenerated by a sequence. There's a GeneratedBy property, but it's only an IdentityPart class member.</p>