Provides extension methods to operate with entities.

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

Public Methods

 

Name

Description

Public method Static Supported by the .NET Compact Framework.

CreateEntity

Creates the instance of entity entityType.

Public method Static Supported by the .NET Compact Framework.

CreateEntity<TEntity>

Creates the instance of entity TEntity.

Public method Static Supported by the .NET Compact Framework.

EntityExtensionInfo

Returns an EntityExtensionInfo object for specified entityExtensionType.

Public method Static Supported by the .NET Compact Framework.

EntityInfo

Returns EntityInfo object for entity type entityType.

Public method

Equals

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

Public method Static Supported by the .NET Compact Framework.

Evaluate<TEntity>

Evaluates the specified expression for objects of the specified type.

Public method Static Supported by the .NET Compact Framework.

FindEntity

Searches for the first object of the specified type, matching the specified criteria.

Public method Static Supported by the .NET Compact Framework.

FindEntity<TEntity>

Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.

Public method Static Supported by the .NET Compact Framework.

FindEntityType

Returns Type of entity by the specified realType.

Public method Static Supported by the .NET Compact Framework.

FindEntityTypeInfo

Returns ITypeInfo for entity by the specified realType.

Public method Static Supported by the .NET Compact Framework.

FindRealEntityType

Returns real type for entity type

Public method Static Supported by the .NET Compact Framework.

GetEntities

Returns an IList collection of objects of specified entityType, retrieved to the current Object Space and filtered according to the specified criteria.

Public method Static Supported by the .NET Compact Framework.

GetEntities<TEntity>

Returns an IList collection of TEntity objects via the specified IObjectSpace.

Public method Static Supported by the .NET Compact Framework.

GetEntity<TEntity>

Returns entity TEntity for extension instance extension.

Public method Static Supported by the .NET Compact Framework.

GetExtension<TExtension>

(Overloaded) Returns extension TExtension for entity <param name="obj" />

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.

IsEntity

Checks than entityType is entity.

Public method Static Supported by the .NET Compact Framework.

IsEntityExtension

Checks than entityExtensionType is entity extension.

Public method Static Supported by the .NET Compact Framework.

Query<TEntity>

Creates and returns new instance of XFQuery<T>.

Public method Static

ReferenceEquals

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

Public method Static Supported by the .NET Compact Framework.

RegisterEntity

Obsolete. Registers entityType as business entity.

Public method Static Supported by the .NET Compact Framework.

RegisterRealEntityType

Registers realEntityType for entityType.

Public method Static Supported by the .NET Compact Framework.

SelectData<TEntity>

Retrieves objects from a session using the specified query parameters.

Public method Static Supported by the .NET Compact Framework.

SelectDataAsync<TEntity>

Asynchronously retrieves entities from an object space, using the specified query parameters.

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

See Also