﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SubClassPartitionedConfiguration.cs" company="Epworth Consulting Ltd.">
//   © Epworth Consulting Ltd.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

using Atlas.Persistence.TestsBase.Entities;
using NHibernate.Mapping.ByCode.Conformist;

namespace Atlas.Persistence.NHibernate.Tests.NHibernateByCodeConfiguration.Configuration
{
   public class SubClassPartitionedConfiguration : JoinedSubclassMapping<SubClassPartitioned>
   {
      public SubClassPartitionedConfiguration()
      {
         this.Key(c => c.Column("BaseClassID"));

         this.Property(c => c.Name, c => c.Length(50));
      }
   }
}
