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

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

Public Properties

 

Name

Description

Public property Supported by the .NET Compact Framework.

Entities

Returns registered business entities list.

Public property Supported by the .NET Compact Framework.

EntityExtensions

 

Top

Public Methods

 

Name

Description

Public method Supported by the .NET Compact Framework.

CreateEntitiesModule

Creates ModuleBase object for generated entities module.

Public method

Equals

(Overloaded) Determines whether the specified Object is equal to the current Object. (inherited from Object).

Public method Supported by the .NET Compact Framework.

FindEntityExtensionInfo

Returns EntityExtensionInfo object for entity extension type entityExtensionType.

Public method Supported by the .NET Compact Framework.

FindEntityInfo

Returns EntityInfo object for entity type entityType.

Public method Supported by the .NET Compact Framework.

FindEntityType

Returns entity type for real entity type

Public method Supported by the .NET Compact Framework.

FindRealEntityType

Returns real type for entity type

Public method Supported by the .NET Compact Framework.

GetEntitiesModuleType

Returns Type derived from ModuleBase for generated entities module.

Public method

GetHashCode

Serves as a hash function for a particular type. (inherited from Object).

Public method

GetType

(Overloaded) Gets the Type of the current instance. (inherited from Object).

Public method Static Supported by the .NET Compact Framework.

Init

Empty method to ensure Entity factory is inited

Public method Supported by the .NET Compact Framework.

IsEntity

Check entityType for business entity.

Public method Supported by the .NET Compact Framework.

IsEntityExtension

 

Public method Static

ReferenceEquals

Determines whether the specified Object instances are the same instance. (inherited from Object).

Public method Supported by the .NET Compact Framework.

RegisterEntity

Registers entityType as business entity.

Public method Supported by the .NET Compact Framework.

RegisterEntity<TEntity, TBaseType>

Registers TEntity as business entity with TBaseType as base type.

Public method Supported by the .NET Compact Framework.

RegisterEntity<TEntity>

Registers TEntity as business entity.

Public method Supported by the .NET Compact Framework.

RegisterExtension

Registers extension extensionType for entity entityType.

Public method Supported by the .NET Compact Framework.

RegisterExtension<TEntity, TExtension>

(Overloaded) Register extension TExtension for entity TEntity.

Public method Supported by the .NET Compact Framework.

RegisterExtension<TExtension>

Registers extension TExtension for entity entityType.

Public method Supported by the .NET Compact Framework.

RegisterExtensionConvertor<TEntity, TExtension>

Obsolete.

Public method Supported by the .NET Compact Framework.

RegisterRealEntityType

Registers real type for entity type.

Public method Supported by the .NET Compact Framework.

Reset

Obsolete. Clear all registered entities.

Public method

ToString

Returns a string that represents the current object. (inherited from Object).

Top

Extension Methods

 

Name

Description

Public extension method Supported by the .NET Compact Framework.

GetDocflowExtension

Returns docflow extension for selected document. (Defined by DocumentExtensionDocflow).

Public extension method Supported by the .NET Compact Framework.

GetListValueByTerm<TDetails>

Obsolete. (Defined by TypeExtensions).

Public extension method Supported by the .NET Compact Framework.

GetValueByTerm<TValue>

Obsolete. (Defined by TypeExtensions).

Public extension method Supported by the .NET Compact Framework.

InitializeDocflow

Add docflow extension to document. Commit needed after this method. (Defined by DocumentExtensionDocflow).

Public extension method Supported by the .NET Compact Framework.

Session

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

Public extension method Supported by the .NET Compact Framework.

SetValueByTerm<TValue>

Obsolete. (Defined by TypeExtensions).

Top

Fields

 

Name

Description

Public field Static Supported by the .NET Compact Framework.

Enabled

Obsolete.

Public field Static Supported by the .NET Compact Framework.

EnabledInDesignMode

 

Public field Static Supported by the .NET Compact Framework.

Instance

Gets the EntityFactory for current Thread.

Public field Static Supported by the .NET Compact Framework.

Names

 

Top

See Also