Topic outline

  • Using Entity Framework with InterSystems IRIS Data Platform

    Entity Framework is one of many third-party tools that you can use to connect your .NET application to InterSystems IRIS® data platform, in addition to the built-in technologies: ADO.Net, XEP, and Native API. Entity Framework is an object/relational mapping tool that allows you to map your .NET objects to relational tables in InterSystems IRIS and eliminates the need for most of the data-access code that developers usually need to write. If you already know how to use Entity Framework, you can use it with InterSystems IRIS, in the exact same way as with any other database, with a bit of prior setup to get the InterSystems IRIS Entity Framework Provider. If you know how to use Entity Framework with other databases, the important things to know for using Entity Framework with InterSystems IRIS are the following:

    • Follow Setting Up the Entity Framework Provider in the documentation to install the InterSystems IRIS Entity Framework Provider distribution.
    • Then, you can add a new connection string to App.config, specifying iris as the SQLDIALECT and using InterSystems.Data.IrisClient as the providerName.

    The following videos will walk through an example using Entity Framework with InterSystems IRIS, including setting up the InterSystems IRIS Entity Framework Provider, using both the Code First and Database First approaches. You can also use Entity Framework in a Model First approach, but that will not be covered.