EntityFactory Members

Provides methods to register business entities and operate it on runtime.

The following tables list the members exposed by the EntityFactory type.

collallPublic Properties

 

Name

Description

pubproperty

Entities

Returns registered business entities list.

pubproperty

EntityExtensions

 

collallPublic Methods

 

Name

Description

pubmethod static

CalculateBaseType

Obsolete.

pubmethod

CreateEntitiesModule

Creates ModuleBase object for generated entities module.

pubmethod

FindEntityExtensionInfo

Returns EntityExtensionInfo object for entity extension type entityExtensionType.

pubmethod

FindEntityInfo

Returns EntityInfo object for entity type entityType.

pubmethod

FindEntityType

Returns entity type for real entity type

pubmethod

FindRealEntityType

Returns real type for entity type

pubmethod

GetEntitiesModuleType

Returns Type derived from ModuleBase for generated entities module.

pubmethod static

Init

Empty method to ensure Entity factory is inited

pubmethod

IsDeclaredEntity

Returns true if entityType is declared as entity.

pubmethod

IsEntity

Check entityType for business entity.

pubmethod

IsEntityExtension

Checks than entityExtensionType is entity extension type.

pubmethod

RegisterEntity

Obsolete. Registers entityType as entity.

pubmethod

RegisterEntity<TEntity, TBaseType>

Obsolete. Registers TEntity as business entity with TBaseType as base type.

pubmethod

RegisterEntity<TEntity>

Obsolete. Registers TEntity as entity.

pubmethod

RegisterExtension

Registers extension extensionType for entity entityType.

pubmethod

RegisterExtension<TEntity, TExtension>

(Overloaded) Register extension TExtension for entity TEntity.

pubmethod

RegisterExtension<TExtension>

Registers extension TExtension for entity entityType.

pubmethod

RegisterExtensionConvertor<TEntity, TExtension>

Obsolete.

pubmethod

RegisterRealEntityType

Registers real type for entity type.

pubmethod

Reset

Obsolete. Clear all registered entities.

pubmethod

Setup

 

collallExtension Methods

 

Name

Description

pubextensionmethod

GetListValueByTerm<TDetails>

Obsolete. (Defined by TypeExtensions).

pubextensionmethod

GetValueByTerm<TValue>

Obsolete. (Defined by TypeExtensions).

pubextensionmethod

Session

Obsolete. Returns Session for specified object. (Defined by SessionExtensions).

pubextensionmethod

SetValueByTerm<TValue>

Obsolete. (Defined by TypeExtensions).

collallFields

 

Name

Description

pubfield static

Enabled

Obsolete.

pubfield static

EnabledInDesignMode

 

pubfield static

Instance

Gets the EntityFactory for current Thread.

pubfield static

Names

Obsolete.

collallSee Also