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

상속: IVisitable
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
isDebug bool
isLazyByDefault bool
pluralizeTableNames bool
type2Model IDictionary

공개 메소드들

메소드 설명
Accept ( IVisitor visitor ) : void

Accepts the specified visitor and call the relevant IVisitor.Visit***() method

ActiveRecordModel ( Type type ) : System

Initializes a new instance of the ActiveRecordModel class.

GetModel ( Type arType ) : ActiveRecordModel

Gets the Framework.Internal.ActiveRecordModel for a given ActiveRecord class.

GetModels ( ) : Castle.ActiveRecord.Framework.Internal.ActiveRecordModel[]

Gets an array containing the Framework.Internal.ActiveRecordModel for every registered ActiveRecord class.

비공개 메소드들

메소드 설명
GetNonProxy ( Type type ) : Type

Get the base type is the object is lazy

Register ( Type arType, ActiveRecordModel model ) : void

Used internally register an association between a type and its model

메소드 상세

Accept() 공개 메소드

Accepts the specified visitor and call the relevant IVisitor.Visit***() method
public Accept ( IVisitor visitor ) : void
visitor IVisitor The visitor.
리턴 void

ActiveRecordModel() 공개 메소드

Initializes a new instance of the ActiveRecordModel class.
public ActiveRecordModel ( Type type ) : System
type System.Type The type.
리턴 System

GetModel() 공개 정적인 메소드

Gets the Framework.Internal.ActiveRecordModel for a given ActiveRecord class.
public static GetModel ( Type arType ) : ActiveRecordModel
arType System.Type
리턴 ActiveRecordModel

GetModels() 공개 정적인 메소드

Gets an array containing the Framework.Internal.ActiveRecordModel for every registered ActiveRecord class.
public static GetModels ( ) : Castle.ActiveRecord.Framework.Internal.ActiveRecordModel[]
리턴 Castle.ActiveRecord.Framework.Internal.ActiveRecordModel[]

프로퍼티 상세

isDebug 보호되어 있는 정적으로 프로퍼티

Whatever Active Record will generate debug information or not
protected static bool isDebug
리턴 bool

isLazyByDefault 보호되어 있는 정적으로 프로퍼티

Whatever types that does not explicitly state that they are lazy should be lazy.
protected static bool isLazyByDefault
리턴 bool

pluralizeTableNames 보호되어 있는 정적으로 프로퍼티

Whether the default inferred table name is plural
protected static bool pluralizeTableNames
리턴 bool

type2Model 보호되어 있는 정적으로 프로퍼티

The mapping between a type and a model
protected static IDictionary type2Model
리턴 IDictionary