About This Book
The InterSystems Native API for .NET is a lightweight interface to powerful InterSystems IRIS® resources that were once available only through ObjectScript:
Call ObjectScript classmethods and functions. Write custom ObjectScript classmethods or functions for any purpose, and call them from your .NET application as easily as you can call native .NET methods.
Manipulate ObjectScript class instances through Object Gateway proxy objects. Call instance methods and get or set property values as easily as you could in an ObjectScript application.
Directly access globals, the tree-based sparse arrays used to implement the InterSystems multidimensional storage model. These native data structures provide very fast, flexible storage and retrieval. InterSystems IRIS uses globals to make data available as objects or relational tables, but you can use the Native API to implement your own data structures.
The following chapters discuss the main features of the Native API:
Introduction to the Native API — gives an overview of Native API abilities and provides some simple code examples.
Calling ObjectScript Methods and Functions — describes how to call user defined ObjectScript class methods and functions.
Using .NET Reverse Proxy Objects — demonstrates how to manipulate ObjectScript objects through Object Gateway reverse proxy objects.
Working with Global Arrays — describes how to create, change, or delete nodes in a multidimensional global array, and demonstrates methods for iteration and data manipulation.
Transactions and Locking — describes how to work with the Native API transaction and concurrency control model.
Native API Quick Reference — provides a brief description of each Native API method mentioned in this book.
There is also a detailed Table of Contents.
Versions of the Native API are also available for Java, Python, and Node.js:
The following book is highly recommended for developers who want to master the full power of globals:
Using Globals — describes how to use globals in ObjectScript, and provides more information about how multidimensional storage is implemented on the server.
The Native API is part of a suite that also includes lightweight APIs for object and relational database access. See the following books for more information:
Using the InterSystems Managed Provider for .NET — describes how use the InterSystems implementation of the ADO.NET Managed Provider for relational data access and the Entity Framework for object access.
Persisting .NET Objects with XEP — describes how to store and retrieve .NET objects using the InterSystems XEP API.