.NET Persistence API: Difference between revisions

Content deleted Content added
FrescoBot (talk | contribs)
m Bot: link syntax/spacing and minor changes
m clean up using AWB (8434)
Line 1:
The '''.NET Persistence API''', also referred to as '''NPA''', is a persistence and [[Object-Relational_MappingRelational Mapping|Object Relational Mapping (ORM)]] specification for the [[.NET_FrameworkNET Framework|.NET framework]].<ref>http://www.npersistence.org/</ref>
 
NPA is based on the [[Java_Persistence_APIJava Persistence API|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>http://www.npersistence.org/faq</ref>
 
==Motivation==
The main purposes of the .NET Persistence API (NPA) are:<ref>http://www.npersistence.org/faq</ref>
* To provide a vendor free persistence API for .NET, making switching from one persistence provider to another easier (avoiding [[vendor lock-in]]).
* To provide a cross language persistence API by extending the popular [[Java_Persistence_APIJava Persistence API|Java Persistence API (JPA)]] to all the .NET programming languages.
 
==Technology==
Line 12:
* 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_ObjectPlain 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 - meta data is embedded in class definitions in the source code.
Line 30:
 
<!--- Categories --->
 
[[Category:.NET framework]]
[[Category:Object-relational mapping]]