title: Invalid index 6 for this SqlParameterCollection with Count= 6
body: <p><strong>Map Class</strong></p>
  
  <pre><code>public class cAdministratorMap : ClassMap&lt;cAdministrator&gt;
  {
  
      public cAdministratorMap()
      {
          Table("Administrators");
  
          CompositeId&lt;cAdministratorsKey&gt;(c =&gt; c.Key)
              .KeyProperty(x =&gt; x.Client_id, "client_id")
              .KeyProperty(x =&gt; x.Start_date, kp =&gt; kp.ColumnName("start_date").Type(DbType.Date.ToString()))
              .KeyProperty(x =&gt; x.Adm_type, kp =&gt; kp.ColumnName("adm_type").Type(DbType.AnsiString.ToString()));
  
          Map(x =&gt; x.Person_id, "person_id").Not.Insert().Not.Update();
          Map(x =&gt; x.end_date).Column("end_date");
          Map(x =&gt; x.description).Column("description").Length(200);
  
          References(x =&gt; x.Person).Column("person_id");
          References(x =&gt; x.Cliente).Column("client_id");
  
      }
  }
  </code></pre>
  
  <p>I am getting the following error </p>
  
  <blockquote>
    <p>Invalid index 6 for this SqlParameterCollection with Count= 6</p>
  </blockquote>
  
  <p>Please help</p>