Devart.Data.Dynamics.EFCore
2.3.190.9
Prefix Reserved
dotnet add package Devart.Data.Dynamics.EFCore --version 2.3.190.9
NuGet\Install-Package Devart.Data.Dynamics.EFCore -Version 2.3.190.9
<PackageReference Include="Devart.Data.Dynamics.EFCore" Version="2.3.190.9" />
paket add Devart.Data.Dynamics.EFCore --version 2.3.190.9
#r "nuget: Devart.Data.Dynamics.EFCore, 2.3.190.9"
// Install Devart.Data.Dynamics.EFCore as a Cake Addin #addin nuget:?package=Devart.Data.Dynamics.EFCore&version=2.3.190.9 // Install Devart.Data.Dynamics.EFCore as a Cake Tool #tool nuget:?package=Devart.Data.Dynamics.EFCore&version=2.3.190.9
dotConnect for Dynamics 365
dotConnect for Dynamics 365 is an ADO.NET provider for working with Dynamics 365 data through the standard ADO.NET or Entity Framework interfaces. It allows you to easily integrate Dynamics 365 data into your .NET applications, and integrate Dynamics 365 services with widely used data-oriented technologies.
The provider works with .NET Frameworks 4.5+, .NET Core 3.1, .NET 5+. The product is compatible with ADO.NET Entity Framework (EF) Core.
It has the same standard ADO.NET classes as other standard ADO.NET providers: DynamicsConnection, DynamicsCommand, DynamicsDataAdapter, DynamicsDataReader, DynamicsParameter, etc. This allows you quickly get started with it and eliminates the need to study any Dynamics 365 data access specificities.
More information at dotConnect for Dynamics 365.
Compatibility
The following table show which version of this package to use with which version of frameworks.
Frameworks | Version support |
---|---|
Entity Framework Core | 9 |
.NET | 9, 8 |
More information here
Installation
For projects, using Entity Framework Core 9 with Dynamics 365, install this package. Execute the following command in the Package Manager Console:
Install-Package Devart.Data.Dynamics.EFCore
License
See pricing options for ordering.
To activate your license, please download dotConnect for Dynamics 365 from our website. This installer generates the trial key files required for using this package on a trial basis.
Usage
This snippet directly configures a DynamicsConnection class for an Entity Framework Core DbContext using a connection string.
public class MyDbContext : DbContext {
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {
optionsBuilder.UseDynamics(@"Server=https://your_company.crm4.dynamics.com;UserId=Test@Test.onmicrosoft.com;Password=********;");
}
}
Configuration Using DynamicsConnection Instance
using Devart.Data.Dynamics;
...
public class MyDbContext : DbContext {
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {
var connection = new DynamicsConnection();
connection.Server = "https://your_company.crm4.dynamics.com";
connection.UserId = "Test@Test.onmicrosoft.com";
connection.Password = "********";
optionsBuilder.UseDynamics(connection);
}
}
ASP.NET Core and Blazor
Configuration File (appsettings.json):
{
"ConnectionStrings": {
"DefaultConnection": "Server=https://your_company.crm4.dynamics.com;UserId=Test@Test.onmicrosoft.com;Password=********;"
}
}
DbContext Configuration:
public class MyDbContext : DbContext {
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {
IConfigurationBuilder builder = new ConfigurationBuilder().AddJsonFile("appsettings.json");
IConfiguration configuration = builder.Build();
optionsBuilder.UseDynamics(configuration.GetConnectionString("DefaultConnection"));
}
}
Key Features
- Easy Connection: Allows your .NET application to work with Dynamics 365 data.
- SQL Engine: No need to study and use complex Dynamics 365 API, just use familiar SQL statements. You may use complex JOINs, WHERE conditions, etc. - all the SQL benefits, not available with Dynamics 365 API.
- Support and Updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.
Related Packages
Support Area
More Resources
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. |
-
net8.0
- Devart.Data.Dynamics (>= 2.3.190)
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.0 && < 10.0.0)
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 |
---|---|---|
2.3.190.9 | 81 | 12/27/2024 |
2.3.190.8 | 77 | 12/27/2024 |
2.3.190.7 | 71 | 12/27/2024 |
2.3.190 | 85 | 12/27/2024 |
2.2.104.8 | 108 | 11/8/2024 |
2.2.104.7 | 88 | 11/8/2024 |
2.2.104 | 93 | 11/8/2024 |
2.2.21.8 | 143 | 6/6/2024 |
2.2.21.7 | 111 | 6/6/2024 |
2.2.21 | 111 | 6/6/2024 |
2.2.20.8 | 113 | 5/30/2024 |
2.2.20.7 | 113 | 5/30/2024 |
2.2.20 | 113 | 5/30/2024 |
2.1.10.8 | 167 | 1/18/2024 |
2.1.10.7 | 108 | 1/18/2024 |
2.1.10 | 112 | 1/18/2024 |
2.0.0.7 | 216 | 11/17/2023 |
2.0.0 | 122 | 11/17/2023 |