Create a new entity manager factory using the database context specified.

Namespace: Hypertable.Persistence
Assembly: ht4o (in ht4o.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static EntityManagerFactory CreateEntityManagerFactory(
	IContext ctx
)
Public Shared Function CreateEntityManagerFactory ( _
	ctx As IContext _
) As EntityManagerFactory
public:
static EntityManagerFactory^ CreateEntityManagerFactory(
	IContext^ ctx
)

Parameters

ctx
IContext
The existing database context.

Return Value

The newly created entity manager factory.

Remarks

The entity manager does not take ownership of the database context specified.

See Also