public void Apply(IMappingPart part)
        {
            var conventions = conventionFinder.Find<IPropertyConvention>();
            var property = (IProperty)part;

            foreach (var convention in conventions)
            {
                if (convention.Accept(property))
                    convention.Apply(property);
            }
        }
        public void Apply(IMappingPart target)
        {
            var conventions = conventionFinder.Find<IDynamicComponentConvention>();
            var component = (IDynamicComponent)target;

            foreach (var convention in conventions)
            {
                if (convention.Accept(component))
                    convention.Apply(component);
            }
        }
        public void Apply(IMappingPart target)
        {
            var conventions = conventionFinder.Find<ISubclassConvention>();
            var join = (ISubclass)target;

            foreach (var convention in conventions)
            {
                if (convention.Accept(join))
                    convention.Apply(join);
            }
        }
        public void Apply(IMappingPart part)
        {
            var conventions = conventionFinder.Find<IVersionConvention>();
            var version = (IVersion)part;

            foreach (var convention in conventions)
            {
                if (convention.Accept(version))
                    convention.Apply(version);
            }
        }
        public void Apply(IMappingPart part)
        {
            var conventions = conventionFinder.Find<IIdConvention>();
            var id = (IIdentityPart)part;

            foreach (var convention in conventions)
            {
                if (convention.Accept(id))
                    convention.Apply(id);
            }
        }
 public bool Accept(IMappingPart part)
 {
     return (part is IProperty);
 }
 public void AddUnmigratedPart(IMappingPart part)
 {
     unmigratedParts.Add(part);
 }
 public bool Accept(IMappingPart target)
 {
     return (target is ISubclass);
 }
 public bool Accept(IMappingPart part)
 {
     return (part is IVersion);
 }
 public bool Accept(IMappingPart target)
 {
     return (target is IDynamicComponent);
 }
 public virtual void SetUp()
 {
     _mockPart = MockRepository.GenerateStub<IMappingPart>();
     _cascade = new CascadeExpression<IMappingPart>(_mockPart);
 }
 public bool Accept(IMappingPart part)
 {
     return (part is IIdentityPart);
 }