public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessClass(this); if (Id != null) { visitor.Visit(Id); } if (Discriminator != null) { visitor.Visit(Discriminator); } if (Cache != null) { visitor.Visit(Cache); } if (Version != null) { visitor.Visit(Version); } if (Tuplizer != null) { visitor.Visit(Tuplizer); } base.AcceptVisitor(visitor); }
private static void Accept(IEntityMapping mapping, IMappingModelVisitor visitor) { visitor.Visit(mapping); foreach (var classMapping in mapping.Classes) { visitor.Visit(classMapping); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { if (Key != null) visitor.Visit(Key); if (Contents != null) visitor.Visit(Contents); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessNaturalId(this); foreach (var key in properties) visitor.Visit(key); foreach (var key in manyToOnes) visitor.Visit(key); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessHibernateMapping(this); foreach (var import in Imports) visitor.Visit(import); foreach (var classMapping in Classes) visitor.Visit(classMapping); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessId(this); foreach (var column in Columns) visitor.Visit(column); if (Generator != null) visitor.Visit(Generator); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessJoinedSubclass(this); if(Key != null) visitor.Visit(Key); foreach (var subclass in _subclasses) visitor.Visit(subclass); base.AcceptVisitor(visitor); }
public void Accept(IMappingModelVisitor mappingModelVisitor) { mappingModelVisitor.Visit(this); foreach (var propertyMapping in Properties) { mappingModelVisitor.Visit(propertyMapping); } foreach (var classMapping in Classes) { mappingModelVisitor.Visit(classMapping); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessNaturalId(this); foreach (var key in properties) { visitor.Visit(key); } foreach (var key in manyToOnes) { visitor.Visit(key); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessId(this); foreach (var column in Columns) { visitor.Visit(column); } if (Generator != null) { visitor.Visit(Generator); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessManyToMany(this); foreach (var column in columns) { visitor.Visit(column); } foreach (var filter in ChildFilters) { visitor.Visit(filter); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessCompositeIndex(this); foreach (var property in Properties) { visitor.Visit(property); } foreach (var reference in References) { visitor.Visit(reference); } }
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); } }
public virtual void AcceptVisitor(IMappingModelVisitor visitor) { foreach (var collection in Collections) visitor.Visit(collection); foreach (var property in Properties) visitor.Visit(property); foreach (var reference in References) visitor.Visit(reference); foreach( var component in Components) visitor.Visit(component); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { if (Parent != null) visitor.Visit(Parent); base.AcceptVisitor(visitor); }
public void AcceptVisitor(IMappingModelVisitor visitor) { if (MergedModel != null) visitor.Visit(MergedModel); else visitor.ProcessComponent(this); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessProperty(this); foreach (var column in columns) visitor.Visit(column); }
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); } } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { mappedMembers.AcceptVisitor(visitor); foreach (var subclass in Subclasses) visitor.Visit(subclass); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessCompositeElement(this); if (Parent != null) { visitor.Visit(Parent); } foreach (var compositeElement in CompositeElements) { visitor.Visit(compositeElement); } mappedMembers.AcceptVisitor(visitor); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessComponent(this); if (Parent != null) visitor.Visit(Parent); base.AcceptVisitor(visitor); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessList(this); if(Index != null) visitor.Visit(Index); base.AcceptVisitor(visitor); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessManyToOne(this); foreach (var column in columns) { visitor.Visit(column); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessElement(this); foreach (var column in Columns) { visitor.Visit(column); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { mappedMembers.AcceptVisitor(visitor); foreach (var subclass in Subclasses) { visitor.Visit(subclass); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessHibernateMapping(this); foreach (var import in Imports) { visitor.Visit(import); } foreach (var classMapping in Classes) { visitor.Visit(classMapping); } foreach (var filterMapping in Filters) { visitor.Visit(filterMapping); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessAny(this); foreach (var metaValue in metaValues) { visitor.Visit(metaValue); } foreach (var column in typeColumns) { visitor.Visit(column); } foreach (var column in identifierColumns) { visitor.Visit(column); } }
public virtual void AcceptVisitor(IMappingModelVisitor visitor) { foreach (var collection in Collections) { visitor.Visit(collection); } foreach (var property in Properties) { visitor.Visit(property); } foreach (var reference in References) { visitor.Visit(reference); } foreach (var component in Components) { visitor.Visit(component); } foreach (var oneToOne in oneToOnes) { visitor.Visit(oneToOne); } foreach (var any in anys) { visitor.Visit(any); } foreach (var join in joins) { visitor.Visit(join); } foreach (var filter in filters) { visitor.Visit(filter); } foreach (var storedProcedure in storedProcedures) { visitor.Visit(storedProcedure); } }
public virtual void AcceptVisitor(IMappingModelVisitor visitor) { foreach (var mapping in orderedMappings) { switch (mapping.Item1) { case MappingType.Property: visitor.Visit((PropertyMapping)mapping.Item2); break; case MappingType.Collection: visitor.Visit((Collections.CollectionMapping)mapping.Item2); break; case MappingType.ManyToOne: visitor.Visit((ManyToOneMapping)mapping.Item2); break; case MappingType.IComponent: visitor.Visit((IComponentMapping)mapping.Item2); break; case MappingType.OneToOne: visitor.Visit((OneToOneMapping)mapping.Item2); break; case MappingType.Any: visitor.Visit((AnyMapping)mapping.Item2); break; case MappingType.Join: visitor.Visit((JoinMapping)mapping.Item2); break; case MappingType.Filter: visitor.Visit((FilterMapping)mapping.Item2); break; case MappingType.StoredProcedure: visitor.Visit((StoredProcedureMapping)mapping.Item2); break; default: throw new Exception("Internal Error: unsupported mapping type " + mapping.Item1); } } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessList(this); if (Index != null) { visitor.Visit(Index); } base.AcceptVisitor(visitor); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessJoinedSubclass(this); if (Key != null) { visitor.Visit(Key); } base.AcceptVisitor(visitor); }
public void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessJoin(this); if (Key != null) { visitor.Visit(Key); } mappedMembers.AcceptVisitor(visitor); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { if (Key != null) { visitor.Visit(Key); } if (Element != null) { visitor.Visit(Element); } if (CompositeElement != null) { visitor.Visit(CompositeElement); } if (Relationship != null) { visitor.Visit(Relationship); } foreach (var filter in Filters) { visitor.Visit(filter); } if (Cache != null) { visitor.Visit(Cache); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessProperty(this); if (!IsSpecified("Formula")) { // only output columns if no formula defined foreach (var column in Columns) { visitor.Visit(column); } } }
public void Accept(IMappingModelVisitor mappingModelVisitor) { mappingModelVisitor.Visit(this); foreach (var propertyMapping in Properties) { propertyMapping.Accept(mappingModelVisitor); } foreach (var clas in Classes) { clas.Accept(mappingModelVisitor); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessClass(this); if (Id != null) visitor.Visit(Id); if (Discriminator != null) visitor.Visit(Discriminator); foreach (var subclass in Subclasses) visitor.Visit(subclass); base.AcceptVisitor(visitor); }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessCollection(this); if (Key != null) { visitor.Visit(Key); } if (Index != null && (Collection == Collection.Array || Collection == Collection.List || Collection == Collection.Map)) { visitor.Visit(Index); } if (Element != null) { visitor.Visit(Element); } if (CompositeElement != null) { visitor.Visit(CompositeElement); } if (Relationship != null) { visitor.Visit(Relationship); } foreach (var filter in Filters) { visitor.Visit(filter); } if (Cache != null) { visitor.Visit(Cache); } }
public override void AcceptVisitor(IMappingModelVisitor visitor) { visitor.ProcessDiscriminator(this); if(Column != null) visitor.Visit(Column); }
void IPropertyMapping.Accept(IMappingModelVisitor mappingModelVisitor) { mappingModelVisitor.Visit(this); }
public void Accept(IMappingModelVisitor mappingModelVisitor) { mappingModelVisitor.Visit(this); }
public virtual void AcceptVisitor(IMappingModelVisitor visitor) { foreach (var collection in Collections) visitor.Visit(collection); foreach (var property in Properties) visitor.Visit(property); foreach (var reference in References) visitor.Visit(reference); foreach (var component in Components) visitor.Visit(component); foreach (var oneToOne in oneToOnes) visitor.Visit(oneToOne); foreach (var any in anys) visitor.Visit(any); foreach (var join in joins) visitor.Visit(join); foreach (var filter in filters) visitor.Visit(filter); foreach (var storedProcedure in storedProcedures) visitor.Visit(storedProcedure); }