NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
This annotation must be specified for persistent fields
or properties of type System.DateTime and
System.DateTime.
CopyC#
Namespace: NPersistenceIt may only be specified for fields or properties of these types.
The Temporal annotation may be used in conjunction with the Basic annotation, the Id annotation, or the ElementCollection annotation (when the element collection value is of such a temporal type.
Examples

Example:
[Temporal(DATE)]
protected System.DateTime endDate;
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public sealed class Temporal : Attribute
Members
All Members | Constructors ![]() | Fields ![]() |
![]() ![]() | ![]() ![]() ![]() | ![]() ![]() | ![]() ![]() ![]() ![]() |
Member | Description | |
---|---|---|
![]() | Temporal()()()() | Initializes a new instance of the Temporal class |
![]() | Temporal(TemporalType) | Initializes a new instance of the Temporal class |
![]() | Value | The type used in mapping System.DateTime or System.DateTime |
Inheritance Hierarchy
System..::..Object
System..::..Attribute
NPersistence..::..Temporal
System..::..Attribute
NPersistence..::..Temporal