NPersistence Reference Guide
Returns the name of the persistence unit. Corresponds to the name attribute in the persistence.xml file.

Namespace: NPersistence.spi
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
string GetPersistenceUnitName()

Return Value

the name of the persistence unit

See Also