using System.Collections.Generic;

namespace FluentNHibernate.Specs.Automapping.Fixtures
{
    class ReadOnlyEnumerableEntity
    {
        IList<EntityChild> backingFieldCollection;

        public int Id { get; set; }
        public IEnumerable<EntityChild> AutoPropertyCollection { get; private set; }
        public IEnumerable<EntityChild> BackingFieldCollection
        {
            get { return backingFieldCollection; }
        }
    }
}