C# Class Castle.ActiveRecord.Framework.Internal.AbstractDepthFirstVisitor

Base class for visitors that needs to traverse the entire Active Record Model
Inheritance: IVisitor
Exibir arquivo Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
GuessType ( Type type, Type propertyType ) : Type

Guesses the type of the other end.

VisitAny ( AnyModel model ) : void

Visits any.

VisitBelongsTo ( BelongsToModel model ) : void

Visits the belongs to.

VisitCollectionID ( CollectionIDModel model ) : void

Visits the collection ID.

VisitCompositePrimaryKey ( CompositeKeyModel model ) : void

Visits the composite primary key.

VisitCompositeUserType ( CompositeUserTypeModel model ) : void

Visits the custom composite user type.

VisitDependentObject ( DependentObjectModel model ) : void

Visits the Dependent Object à

VisitField ( FieldModel model ) : void

Visits the field.

VisitHasAndBelongsToMany ( HasAndBelongsToManyModel model ) : void

Visits the has and belongs to many.

VisitHasMany ( HasManyModel model ) : void

Visits the has many.

VisitHasManyToAny ( HasManyToAnyModel model ) : void

Visits the has many to any.

VisitHasManyToAnyConfig ( HasManyToAnyModel hasManyToAnyConfigModel ) : void

Visits the has many to any config.

VisitHilo ( Castle.ActiveRecord.Framework.Internal.HiloModel model ) : void

Visits the hilo.

VisitImport ( ImportModel model ) : void

Visits the import.

VisitKey ( KeyModel model ) : void

Visits the key.

VisitModel ( ActiveRecordModel model ) : void

Visits the model.

VisitNested ( Castle.ActiveRecord.Framework.Internal.NestedModel model ) : void

Visits the nested.

VisitNestedParentReference ( NestedParentReferenceModel referenceModel ) : void

Visits the component parent

VisitNode ( IVisitable visitable ) : void

Visits the node.

VisitNodes ( IEnumerable nodes ) : void

Visits the nodes.

VisitOneToOne ( Castle.ActiveRecord.Framework.Internal.OneToOneModel model ) : void

Visits the one to one.

VisitPrimaryKey ( PrimaryKeyModel model ) : void

Visits the primary key.

VisitProperty ( PropertyModel model ) : void

Visits the property.

VisitTimestamp ( TimestampModel model ) : void

Visits the timestamp.

VisitVersion ( VersionModel model ) : void

Visits the version.

Method Details

GuessType() public static method

Guesses the type of the other end.
public static GuessType ( Type type, Type propertyType ) : Type
type System.Type The type.
propertyType System.Type Type of the property.
return System.Type

VisitAny() public method

Visits any.
public VisitAny ( AnyModel model ) : void
model AnyModel The model.
return void

VisitBelongsTo() public method

Visits the belongs to.
public VisitBelongsTo ( BelongsToModel model ) : void
model BelongsToModel The model.
return void

VisitCollectionID() public method

Visits the collection ID.
public VisitCollectionID ( CollectionIDModel model ) : void
model CollectionIDModel The model.
return void

VisitCompositePrimaryKey() public method

Visits the composite primary key.
public VisitCompositePrimaryKey ( CompositeKeyModel model ) : void
model CompositeKeyModel The model.
return void

VisitCompositeUserType() public method

Visits the custom composite user type.
public VisitCompositeUserType ( CompositeUserTypeModel model ) : void
model CompositeUserTypeModel The model.
return void

VisitDependentObject() public method

Visits the Dependent Object à
public VisitDependentObject ( DependentObjectModel model ) : void
model DependentObjectModel The model
return void

VisitField() public method

Visits the field.
public VisitField ( FieldModel model ) : void
model FieldModel The model.
return void

VisitHasAndBelongsToMany() public method

Visits the has and belongs to many.
public VisitHasAndBelongsToMany ( HasAndBelongsToManyModel model ) : void
model HasAndBelongsToManyModel The model.
return void

VisitHasMany() public method

Visits the has many.
public VisitHasMany ( HasManyModel model ) : void
model HasManyModel The model.
return void

VisitHasManyToAny() public method

Visits the has many to any.
public VisitHasManyToAny ( HasManyToAnyModel model ) : void
model HasManyToAnyModel The model.
return void

VisitHasManyToAnyConfig() public method

Visits the has many to any config.
public VisitHasManyToAnyConfig ( HasManyToAnyModel hasManyToAnyConfigModel ) : void
hasManyToAnyConfigModel HasManyToAnyModel The has many to any config model.
return void

VisitHilo() public method

Visits the hilo.
public VisitHilo ( Castle.ActiveRecord.Framework.Internal.HiloModel model ) : void
model Castle.ActiveRecord.Framework.Internal.HiloModel The model.
return void

VisitImport() public method

Visits the import.
public VisitImport ( ImportModel model ) : void
model ImportModel The model.
return void

VisitKey() public method

Visits the key.
public VisitKey ( KeyModel model ) : void
model KeyModel The model.
return void

VisitModel() public method

Visits the model.
public VisitModel ( ActiveRecordModel model ) : void
model ActiveRecordModel The model.
return void

VisitNested() public method

Visits the nested.
public VisitNested ( Castle.ActiveRecord.Framework.Internal.NestedModel model ) : void
model Castle.ActiveRecord.Framework.Internal.NestedModel The model.
return void

VisitNestedParentReference() public method

Visits the component parent
public VisitNestedParentReference ( NestedParentReferenceModel referenceModel ) : void
referenceModel NestedParentReferenceModel The model.
return void

VisitNode() public method

Visits the node.
public VisitNode ( IVisitable visitable ) : void
visitable IVisitable The visitable.
return void

VisitNodes() public method

Visits the nodes.
public VisitNodes ( IEnumerable nodes ) : void
nodes IEnumerable The nodes.
return void

VisitOneToOne() public method

Visits the one to one.
public VisitOneToOne ( Castle.ActiveRecord.Framework.Internal.OneToOneModel model ) : void
model Castle.ActiveRecord.Framework.Internal.OneToOneModel The model.
return void

VisitPrimaryKey() public method

Visits the primary key.
public VisitPrimaryKey ( PrimaryKeyModel model ) : void
model PrimaryKeyModel The model.
return void

VisitProperty() public method

Visits the property.
public VisitProperty ( PropertyModel model ) : void
model PropertyModel The model.
return void

VisitTimestamp() public method

Visits the timestamp.
public VisitTimestamp ( TimestampModel model ) : void
model TimestampModel The model.
return void

VisitVersion() public method

Visits the version.
public VisitVersion ( VersionModel model ) : void
model VersionModel The model.
return void