コード例 #1
0
        public override void AcceptVisitor(IMappingModelVisitor visitor)
        {
            visitor.ProcessCompositeId(this);

            foreach (var key in keyProperties)
            {
                visitor.Visit(key);
            }

            foreach (var key in keyManyToOnes)
            {
                visitor.Visit(key);
            }
        }
コード例 #2
0
        public override void AcceptVisitor(IMappingModelVisitor visitor)
        {
            visitor.ProcessCompositeId(this);

            foreach (var key in keys)
            {
                if (key is KeyPropertyMapping)
                {
                    visitor.Visit((KeyPropertyMapping)key);
                }
                if (key is KeyManyToOneMapping)
                {
                    visitor.Visit((KeyManyToOneMapping)key);
                }
            }
        }
コード例 #3
0
 public override void AcceptVisitor(IMappingModelVisitor visitor)
 {
     visitor.ProcessCompositeId(this);
 }