C# 클래스 Castle.ActiveRecord.Framework.Internal.ActiveRecordModelBuilder

Bulids an ActiveRecordModel from a type and does some inital validation.
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
Create ( Type type ) : ActiveRecordModel

Creates a ActiveRecordModel from the specified type.

비공개 메소드들

메소드 설명
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

메소드 상세

Create() 공개 메소드

Creates a ActiveRecordModel from the specified type.
public Create ( Type type ) : ActiveRecordModel
type System.Type The type.
리턴 ActiveRecordModel