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

Connects ActiveRecordModel with their parents ActiveRecordModel
Inheritance: AbstractDepthFirstVisitor
Datei anzeigen Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
GraphConnectorVisitor ( ActiveRecordModelCollection arCollection ) : System

Initializes a new instance of the GraphConnectorVisitor class.

VisitCollectionID ( CollectionIDModel model ) : void

Visits the collection ID.

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

Visits the hilo model

VisitModel ( ActiveRecordModel model ) : void

Visits the model.

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

Visits the nested.

Private Methods

Method Description
FindCollectionID ( PropertyInfo property ) : CollectionIDModel
FindHasAndBelongsToMany ( PropertyInfo property ) : HasAndBelongsToManyModel
IsChildClass ( ActiveRecordModel model, ActiveRecordModel child ) : bool

Method Details

GraphConnectorVisitor() public method

Initializes a new instance of the GraphConnectorVisitor class.
public GraphConnectorVisitor ( ActiveRecordModelCollection arCollection ) : System
arCollection ActiveRecordModelCollection The ar collection.
return System

VisitCollectionID() public method

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

VisitHilo() public method

Visits the hilo model
public VisitHilo ( Castle.ActiveRecord.Framework.Internal.HiloModel model ) : void
model Castle.ActiveRecord.Framework.Internal.HiloModel 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