NPersistence Reference Guide
Specifies that the property or field is not persistent. It is used
to annotate a property or field of an entity class, mapped
superclass, or embeddable class.
Examples
CopyC#
Example: [Entity] public class Employee { [Id] int id; [Transient] User currentUser; ... }
Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public sealed class Transient : Attribute
Members
All Members | Constructors |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
Transient()()()() | Initializes a new instance of the Transient class |
Inheritance Hierarchy
System..::..Object
System..::..Attribute
NPersistence..::..Transient
System..::..Attribute
NPersistence..::..Transient