C# Класс Castle.ActiveRecord.Framework.Internal.ActiveRecordModelBuilder

Bulids an ActiveRecordModel from a type and does some inital validation.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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