Content deleted Content added
m →External links: clean up + adding portal |
HeyElliott (talk | contribs) |
||
(8 intermediate revisions by 7 users not shown) | |||
Line 1:
The '''.NET Persistence API''', also referred to as '''NPA''', is a persistence and [[
NPA is based on the [[Java Persistence API]] (JPA), which is the standard persistence API in the [[Java (programming language)|Java]] world. NPA follows JPA by providing a complete persistence API and a rich set of ORM features.<ref name=autogenerated1>{{Cite web |url=http://www.npersistence.org/faq |title=FAQ {{!}} NPersistence |access-date=2018-08-24 |archive-url=https://web.archive.org/web/20120426082101/http://www.npersistence.org/faq |archive-date=2012-04-26 |
== Motivation ==
Line 9:
== 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 |
* Object-oriented API for working against databases (usually RDBMS).
* Query language, based on SQL, for retrieving data from the database in an object oriented manner.
* Support of persisting [[Plain Old CLR Object|POCO (plain old CLR objects)]] objects (entities).
* Two methods for marking classes as entity classes and for specifying other settings:
** Using attributes
** Using external XML
== Implementations ==
Line 21:
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
== References ==
{{
== External links ==
{{Wikibooks|.NET Development Foundation}}
*{{Official website|www.npersistence.org}}
{{DEFAULTSORT:NET Persistence API}}
[[Category:.NET|Persistence
[[Category:
[[Category:Cross-platform software]]
▲{{Portal bar|.NET Framework}}
|