Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

Caché and .NET Overview

The Caché Managed Provider for .NET (CMP) provides a simple and efficient way to connect .NET applications to Caché. The CMP is unique in that it provides both an object and relational interface allowing .NET applications to make full use of both Caché objects and SQL. The object and relational interfaces share a common API and use no object-relational mapping or middleware. After importing your multivalue application to Caché, simply run PROTOCLASS on your data dictionaries and the data is available to .NET applications through the CMP.

Here's a summary of the CMP's features:

  • It provides relational access to Caché data and support for the ADO.NET API through the relational interface.

  • It provides high-performance object access using auto-generated proxy classes through the object interface. The proxy classes correspond to Caché classes stored in Caché. They support object persistence, retrieval, data caching, and life-cycle management.

  • It is implemented using only .NET managed code making it both easy and safe to deploy within a .NET environment.

  • It is thread-safe and can be used with multi-threaded .NET applications.

The CMP requires the following:

  • Caché 5.1 or above.

  • .NET Framework

  • For development, Visual Studio.

  • C# or VB.NET. Note that the code samples in this tutorial use C#.

Note:

For more in-depth information about the CMP, read Using the Caché Managed Provider for .NET and the Caché Managed Provider for .NET Tutorial.

Read the online InterSystems Supported Platforms document for this release document for detailed information on the supported .NET frameworks.

For instructions on importing a multivalue application to Caché, see Migrating an MultiValue Application. For instructions on using PROTOCLASS, see Running PROTOCLASS.

Feedback