Zum Inhalt springen

Plain old CLR object

aus Wikipedia, der freien Enzyklopädie
Dies ist eine alte Version dieser Seite, zuletzt bearbeitet am 1. Oktober 2013 um 17:36 Uhr durch 220.227.124.10 (Diskussion). Sie kann sich erheblich von der aktuellen Version unterscheiden.

Vorlage:Redirect Plain Old CLR Object or POCO is a play on the term POJO, from the Java EE programming world, and is used by developers targeting the Common Language Runtime of the .NET Framework.

Similar to the Javas context, the term is used to contrast a simple object with one that is designed to be used with a complicated, special object framework such as an ORM component. Another way to put it is that POCOs are objects unencumbered with inheritance or attributes needed for specific frameworks.[1] In .NET terms, the word is most often used in the programmatic sense, to differentiate a non-Serviced Component (see MTS) from a "standard object". It can also be used in a tongue-in-cheek manner, referencing the perceived complexity and invasiveness of Java-based programming frameworks such as the legacy EJB2.

POCO is often incorrectly expanded to Plain Old C# Object, but POCOs can be created with any language targeting the CLR. An alternative acronym sometimes used is PONO,[2] for Plain Old .NET Object.

See also

References

  1. See, for example, this MSDN article: Data Contracts - POCO Support
  2. See, for example, a reference to PONO in this whitepaper: Spring.net Reference Documentation

Vorlage:DotNET


Vorlage:Compu-lang-stub