NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Specifies a named native SQL query.
Namespace: NPersistenceQuery names are scoped to the persistence unit.
The NamedNativeQuery annotation can be applied to an entity or mapped superclass.
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public sealed class NamedNativeQuery : Attribute
Members
All Members | Constructors | Fields |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
NamedNativeQuery()()()() | Initializes a new instance of the NamedNativeQuery class | |
Hints | Query properties and hints. (May include vendor-specific query hints.)
| |
Name | The name used to refer to the query with the EntityManager
methods that create query objects.
| |
Query | The SQL query string.
| |
ResultClass | The class of the result.
| |
ResultSetMapping | The name of a SqlResultSetMapping, as defined in metadata.
|
Inheritance Hierarchy
System..::..Object
System..::..Attribute
NPersistence..::..NamedNativeQuery
System..::..Attribute
NPersistence..::..NamedNativeQuery