NPersistence Reference Guide
Specifies that the class is an entity. This annotation is applied to the entity class.

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

Syntax

   
 C# 
public sealed class Entity : Attribute

Members

         
 All Members  Constructors   Fields  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Entity()()()()
Initializes a new instance of the Entity class
Name
(Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Java Persistence query language.

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    NPersistence..::..Entity

See Also