NPersistence Reference Guide Create an instance of Query for executing a named query
(in the Java Persistence query language or in native SQL).
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
Query CreateNamedQuery(
string name
)
Parameters
- name
- String
the name of a query defined in metadata
Return Value
the new query instance
Exceptions
Exception | Condition |
---|
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