Content deleted Content added
No edit summary |
HeyElliott (talk | contribs) |
||
(26 intermediate revisions by 21 users not shown) | |||
Line 1:
The '''.NET Persistence API''', also referred to as '''NPA''', is a persistence and [[
NPA is based on the [[
== Motivation ==
The main purposes of the .NET Persistence API (NPA) are:<ref
* To provide a vendor
* To provide a cross
== Technology ==
The main features of NPA include:<ref>{{Cite web |url=http://www.npersistence.org/api-reference |title=API Reference |access-date=2018-08-24 |archive-url=https://web.archive.org/web/20120426082146/http://www.npersistence.org/api-reference |archive-date=2012-04-26 |url-status=dead }}</ref><ref>[http://nugetmusthaves.com/Package/NPersistence NPersistence – NuGet Must Haves]</ref>
* Object
* Query language, based on SQL, for retrieving data from the database in an object oriented manner.
* Support of persisting [[
* Two methods for marking classes as entity classes and for specifying other settings:
** Using attributes
** Using external XML
== Implementations ==
NPA is a persistence specification. To use NPA an implementation of the specification is required.
Persistence and ORM vendors can provide their own implementations of NPA.
First implementation, NPA for [[NHibernate]], was released in December 2011.<ref>{{Cite web |url=http://www.npersistence.org/nhibernate |title=NPA for NHibernate |access-date=2011-12-30 |archive-url=https://web.archive.org/web/20120426082225/http://www.npersistence.org/nhibernate |archive-date=2012-04-26 |url-status=dead }}</ref><ref>[https://archive.today/20130928184005/http://forums.anandtech.com/archive/index.php/t-2108535.html What is the equivalent of Java Persistence API for .NET? – AnandTech Forums]</ref>
== References ==
{{
== External links ==
{{Wikibooks|.NET Development Foundation}}
*{{Official website|www.npersistence.org}}
{{.NET Framework}}
{{DEFAULTSORT:NET Persistence API}}
[[Category:Object-relational mapping]]▼
[[Category:.NET|Persistence API]]
[[Category:Cross-platform software]]
|