NPersistence Reference Guide
Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL).

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

Syntax

   
 C# 
Query CreateNamedQuery(
	string name
)

Parameters

name
String
the name of a query defined in metadata

Return Value

the new query instance

Exceptions

ExceptionCondition
System..::..ArgumentException if a query has not been defined with the given name or if the query string is found to be invalid

See Also