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

Bulids an ActiveRecordModel from a type and does some inital validation.
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
Create ( Type type ) : ActiveRecordModel

Creates a ActiveRecordModel from the specified type.

Private Methods

Méthode Description
CollectMetaValues ( IList metaStore, PropertyInfo prop ) : void
GetSafeName ( string name ) : string

Remove the generic part from the type name.

IsRootType ( Type type ) : bool
PopulateActiveRecordAttribute ( ActiveRecordAttribute attribute, ActiveRecordModel model ) : void
PopulateModel ( ActiveRecordModel model, Type type ) : void

Populates the model from tye type

ProcessActiveRecordAttribute ( Type type, ActiveRecordModel model ) : void
ProcessFields ( Type type, ActiveRecordModel model ) : void
ProcessImports ( Type type, ActiveRecordModel model ) : void
ProcessJoinedBaseAttribute ( Type type, ActiveRecordModel model ) : void
ProcessProperties ( Type type, ActiveRecordModel model ) : void
ShouldCheckBase ( Type type ) : bool

Method Details

Create() public méthode

Creates a ActiveRecordModel from the specified type.
public Create ( Type type ) : ActiveRecordModel
type System.Type The type.
Résultat ActiveRecordModel