InterSystems.EntityFrameworkCore.Iris
1.0.0
Prefix Reserved
dotnet add package InterSystems.EntityFrameworkCore.Iris --version 1.0.0
NuGet\Install-Package InterSystems.EntityFrameworkCore.Iris -Version 1.0.0
<PackageReference Include="InterSystems.EntityFrameworkCore.Iris" Version="1.0.0" />
<PackageVersion Include="InterSystems.EntityFrameworkCore.Iris" Version="1.0.0" />
<PackageReference Include="InterSystems.EntityFrameworkCore.Iris" />
paket add InterSystems.EntityFrameworkCore.Iris --version 1.0.0
#r "nuget: InterSystems.EntityFrameworkCore.Iris, 1.0.0"
#:package InterSystems.EntityFrameworkCore.Iris@1.0.0
#addin nuget:?package=InterSystems.EntityFrameworkCore.Iris&version=1.0.0
#tool nuget:?package=InterSystems.EntityFrameworkCore.Iris&version=1.0.0
InterSystems.EntityFrameworkCore.Iris is the database provider for InterSystems IRIS. This provider allows you to use Entity Framework Core with the InterSystems IRIS data platform.
Getting started
InterSystems.EntityFrameworkCore.Iris
is the EF Core provider for InterSystems IRIS. See Getting Started for more information on using Entity Framework.
Prerequisites
- InterSystems IRIS data platform (2025.1 or higher)
- InterSystems.Data.IRISClient dependency (2.5.0 or higher)
- .NET 8 SDK
- Visual Studio 2022 (recommended)
Note that the provider currently supports Microsoft.EntityFrameworkCore.Relational version 8.0.12. If you want to manually add this dependency, be aware that higher versions may not be compatible.
Usage
Once you've installed the package, you can use it in your Entity Framework Core application by specifying the IRIS provider in your DbContext's OnConfiguring method:
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseIris("Server = localhost; Port = 1972; Namespace = EFDemo ; User ID = EFUser; Password = <password>");
}
In this example, we're using an IRIS instance on localhost at port 1972. You'll need to adjust the connection string to match your own IRIS instance and credentials.
Features
The IRIS provider supports all common features of Entity Framework Core. The following features are not supported in the IRIS EF Core provider:
- Apply operations
- Computed columns
- Rename operations
- Column collation
- Table/Column descriptions
- Except/Intersect
- RAND function
- Sequences
- JSON Operations
- Savepoints
Additional documentation
For more information on Entity Framework Core, you can refer to the official documentation.
Internally, SQL queries are executed using the InterSystems IRIS TSQL dialect. Fore more information about what is supported in this dialect, see the InterSystems IRIS TSQL Documentation.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- InterSystems.Data.IRISClient (>= 2.5.0)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 173 | 3/28/2025 |